This tag preserves all the white space within the text it contains. It also changes the font to monospace within the tag pair.
class, id, lang, style, title (ignored)
Sample
Sample Code
<h2>Preformatting</h2>
Preformatted text preserves all the white space within the text contained by the tag, and also changes the font to a monospaced font.<br />
<hr width="25%" />
<br />
<pre> White space at the start of this line is preserved.<br />
White space between words is preserved.<br />
A S I S W H I T E S P A C E B E T W E E N L E T T E R S</pre>
© 2000 Microsoft Corporation. All rights reserved. Terms of use.