Renders text in a fixed-width font.
HTML Syntax
<PRE CLASS=classname ID=value LANG=language LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS STYLE=css1-properties TITLE=text event = script >
Remarks
Text within the PRE element is formatted. Spaces and carriage returns are preserved.
The PRE element is a block element and requires a closing tag.
This element is available in HTML as of Microsoft® Internet Explorer 3.0, and in script as of Internet Explorer 4.0.
Members
Styles
Example
This example uses the PRE element to format text so that it renders exactly as it's typed.
<PRE> This text is formatted exactly as it is typed. </PRE>
See Also