< All the HTML Tags >

<xmp></xmp>

Video Coming Soon...

  • xmp

    Tag Type

    block

    Tag Category

    text formatting

    Defines preformatted text

    Viewed

    1

    Examples

    1

Definition:

The HTML <xmp> tag was used to display preformatted text, preserving whitespace and rendering it literally, but it is now deprecated.

Developers are encouraged to use the <pre> tag or <code> tag for similar purposes, as they provide better support and flexibility.

Attributes:

Deprecated in HTML5, Global attributes (e.g., class, id, style)

Accessibility:

Coming Soon…

Default xmp Example:

Using the <xmp> tag to display preformatted text.
<xmp>Preformatted Text Example</xmp>

Default xmp Result:


Coming Soon…

Community Examples:

Coming Soon…
Coming Soon…