This page is Out of Date

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

xmp

Summary

(Obsolete) Renders text between the start and end tags without interpreting the HTML in between and using a monospaced font. Non-conforming in HTML5. Use code or pre instead.

Overview Table

DOM Interface
HTMLElement

The element is defined as a RAWTEXT element, and has special handling by a text/html parser for legacy reasons.

Notes

Remarks

Use of this element is no longer recommended. Use the pre or samp element instead. HTML elements within an XMP element render as text, not as HTML-formatted elements.

See also

Other articles

Use instead