Saturday, May 16, 2009

Using of PRE TAG.


Definition and Usage.


The <pre> tag defines preformatted text.

Text in a pre element is displayed in a fixed-width font (usually Courier), and it preserves both spaces and line breaks.


Example.


<pre>
Text in a pre element
is displayed in a fixed-width
font, and   it preserves
both     spaces and
line breaks
</pre>

Tips and Notes.


Tip: Use the pre element to display computer code!

No response to “Using of PRE TAG.”

Post a Comment