The PRE tag, or <pre>
is short for preformatting. It is a way to space your text the way you like, especially for those who like to do poetry with some fancy spacing. The PRE tag allows you to leave your text exactly how you typed it, including the spaces.
The PRE tag requires an opening and closing tag.
Just an example
I loved to watch the sunset blue sky f a d e s into orange and red and yellow then s i n k s below the h o r i z o n
This was the code used:
<pre>
I loved to watch the sunset
blue sky
f a d e s
into orange and red and yellow
then
s
i
n
k
s
below the
h o r i z o n
</pre>
Pretty cool trick, huh? So for those who like to write poetry or even for a dramatic effect, this is a pretty nifty html tag to use. Although it really is not an extremely important piece of code, like any resource – you never know when something comes in handy.
Have you tried it?
Marla says
Niles, you're amazing. And, you just happen to post answers to questions I'm asking quite often. <remove the webcam> heh