Deprecated in HTML5. Do not use.

<listing> HTML Tag

Element of
HTML Lists
What does <listing> HTML Tag do?
The <listing> element was intended as a way to render HTML code on a page. It was never properly supported, and is now deprecated. Using <listing> will almost certainly result in unexpected results. Instead, use <code>, or place the content in a <div> with the appropriate CSS styling.
Display
inline
Usage
structural | textual

The <listing> element was intended as a way to render HTML code on a page. It was never properly supported, and is now deprecated. Using <listing> will almost certainly result in unexpected results. Instead, use <code>, or place the content in a <div> with the appropriate CSS styling.

Claire is seasoned technical writer, editor and HTML enthusiast.