The <XMP> element can be used to presents blocks of text in fixed-width font, and so is suitable for text that has been formatted on screen. As such, it is similar to the <PRE> and <LISTING> elements, but has a different syntax.

Typically, it will render as fixed width font with white space separating it from other text. It should be rendered such that 80 characters fit on the line.

e.g.

The <XMP>Netscape Navigator</XMP> supports coloured tables.

Would render as:

The

Netscape Navigator supports coloured tables.

<XMP> can also take the CLASS, ID and STYLE attributes to allow style sheet definitions to be applied to it. For more details of these attributes, see the Style Sheets topic.


<WBR> Block Formatting Elements Overview