W3 3.2d
4.0n
NS 3.0y
4.0y
IE 3.0y
4.0y
TV 1.2y
2.1y

<XMP>...</XMP>

Description

The XMP element displays text inside this element as it is in the file, so all white space and line breaks are shown. Also characters that are normally interpreted as special HTML characters like > and < are displayed.

Note: This element is no longer supported by the current HTML standard (4.0). You should use the PRE element instead.

Attributes

** None **

Examples

Source
This example uses <XMP>XMP for its text</XMP>.
 
Result
This example uses XMP for its text.
Statistics