<XMP>

To Contents page for this book.. Go to my bookshelf

<XMP>

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.
Example : The <XMP>Netscape Navigator</XMP> doesn't support coloured tables.
The Internet Explorer will translate any special characters included within <XMP> elements. I.e. if characters such as &lt;, &gt; etc. are used, they will be translated to < and >. Netscape and Mosaic treat the text contained within the elements literally. <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, refer to the Style Sheets topic.

To Contents page for this book.. Go to my bookshelf