Posted by Beauregard T. Shagnasty on 01/23/30 11:51
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>
If you don't like the default styling, change it using CSS. Ex:
pre {
font-family: sans-serif;
font-style: italic;
}
--
-bts
-Warning: I brake for lawn deer
[Back to original message]
|