GateKiller GateKiller - 1 year ago 73
HTML Question

What was the <XMP> tag used for?

Does anyone remember the


What was it used for and why was it deprecated?

Answer Source

A quick Google search on W3C reveals that XMP was introduced for displaying preformatted text in HTML 3.2 and earlier. When W3C deprecated the XMP tag, it suggested using the PRE tag as a preferred alternative.