<listing> HTML Tag
Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
- Element of
- Lists Bring Order To Web Pages: Here’s The HTML Code To Create Them
- 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.