HP3000-L Archives

September 2006, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ken Hirsch <[log in to unmask]>
Reply To:
Ken Hirsch <[log in to unmask]>
Date:
Wed, 13 Sep 2006 13:34:47 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
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 "&amp;" and any 
"<" characters to "&lt;"
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 *

ATOM RSS1 RSS2