HTML and CSS Reference
In-Depth Information
Renders a block of text without any format-
Attributes class , style
End tag
</listing> ; never omitted
Used in
The only difference between <pre> and <listing> is that no other markup
is allowed within the <listing> tag, so you don't have to replace the liter-
al < , > , and & characters with their entity equivalents in a <listing> block,
as you must inside a <pre> block.
Because the <listing> tag is the same as a <pre width=132> tag, and be-
cause it might not be supported in later versions of the popular browsers,
we recommend that you stay away from using <listing> .
Search WWH ::

Custom Search