listing

Support

Displays all characters in a fixed-width font.

This tag is deprecated. Use the pre tag instead.

Example

<div style="background-color: #FF0000;">
Variable-width font.<br />
iiiii<br />
wwwww<br />
</div>
<div style="background-color: #00FF00;">
<listing>
Fixed-width font.<br />
iiiii<br />
wwwww<br />
</listing>
</div>

Preview

Variable-width font.
iiiii
wwwww
Fixed-width font.
iiiii
wwwww