3 out of 4 rated this helpful - Rate this topic

listing element | listing object

[This documentation is preliminary and is subject to change.]

Renders text in a fixed-width font.

Standards information

HTML information

Closing Tagrequired
CSS Displayblock

Remarks

This tag is no longer recommended. Use the PRE or SAMP tag instead.

 

 

Build date: 3/8/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Remark - arcane uses for this tag

This tag <LISTING> displays most-text-like (of HTML), when used as a dummy-wrapper:

eg.

<LISTING>
<DIV>
<p style=margin:200>text
</DIV>
</LISTING>


(In particular it compresses internal vertical margins: top and bottom.)

ADDITIONAL USES: See, How to speed-up pasting into a text-area: <LISTING> is fastest:
http://msdn.microsoft.com/en-us/library/ms531186(VS.85).aspx