loose DTD: PRE element | WebReference

loose DTD: PRE element

PRE

The <PRE> element represents a character cell block of text and is suitable for text that has been formatted for a monospaced font.

The <PRE> tag may be used with the optional WIDTH attribute. The WIDTH attribute specifies the maximum number of characters for a line and allows the HTML user agent to select a suitable font and indentation.

Within preformatted text:

Example of use:

<PRE>
Line 1.
       Line 2 is to the right of line 1.     <a href="abc">abc</a>
       Line 3 aligns with line 2.            <a href="def">def</a>
</PRE>

Content

Exclusions


ATTRIBUTES
CONTENT DECLARATION

Tag Minimization
Open Tag: REQUIRED
Close Tag: REQUIRED

Parent Elements


Top Elements
All Elements
Tree


loose DTD