|
Posted by Alan J. Flavell on 11/26/83 11:51
On Tue, 27 Jun 2006, Beauregard T. Shagnasty wrote:
> lucy wrote:
>
> > Hi: There is a source code which one can use to display a block of
> > text "as is" without having to add <br> at the ends of the lines..
> >
> > Does that make sense? I can't think of what to call it. I used it in
> > the past...
>
> <pre>
> There was an Old Man with a beard,
> Who said, 'It is just as I feared!
> Two Owls and a Hen,
> Four Larks and a Wren,
> Have all built their nests in my beard!'
> </pre>
Don't forget that if the source contains "<" or "&" character(s), then
you have to take some action.
<pre> means preformatted. It does not mean "literal" nor "not parsed"
nor "plaintext" (none of these things really exist in HTML as
currently defined, nor can they. Don't get us started on CDATA.)
Navigation:
[Reply to this message]
|