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:
Wirt Atmar <[log in to unmask]>
Reply To:
Date:
Wed, 13 Sep 2006 13:38:36 EDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
Ken writes:

> > 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.

I don't think that those rules apply to pre-formatted text ("" to ""). I 
believe that that text is passed through just as it is by all browsers, and that's 
a part of what makes writing standard flat file text to a web page so easy.

Wirt Atmar

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2