Subject: | |
From: | |
Reply To: | |
Date: | Wed, 13 Sep 2006 13:34:47 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Wirt Atmar wrote:
> http://aics-research.com/other/test.html
>
> Instead, just look at the source code for the page. All you need do is write
> some HTML header material to a file, ending with a pre-formatted header,
> "pre," and then write your ASCII text to the file as you always would. Close the
> file out with a "/pre" and the standard HTML closes, and you're done.
>
>
When you write, you should change any "&" characters to "&" and any
"<" characters to "<"
In many cases you can get away without doing this-- browsers will not
treat these characters as special if they are followed by a spaces, for
example, but it's good practice to do it always.
For example,
<html>
<head><title>test</title></head>
<body>
<pre>
Is A<B or is A>B?
</pre>
</body>
</html>
will display as
Is AB?
with the B and ? in bold
Also, if you ever have non-ASCII character data, you have to worry about
character set issues--translating to latin-1 or utf-8.
We've been surprised a couple of time that our data entry have entered
names like MUŅOZ
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|