Listing
 
End Tag: Required
Support Key: 2 | 3 | 3.2 | IE1 | M1 | N1
What is it?
Attributes
Tag Example
Parent/Content Model
Tips & Tricks
Browser Peculiarities
= Index DOT Html by Brian Wilson [bloo@blooberry.com] =
Main Index | Top Of Tree | Tag Index | Tag History


What is it?
The Listing tag displays all characters "As-Is" in the browser as a fixed-width font. Recommended display of this tag is a 132 character line length. Until a closing Listing tag is encountered, other HTML tags are displayed on screen as text and not evaluated.

The rules for this sort of behavior can have many consequences in parsing techniques, thus the use of this tag is strongly discouraged (the Pre element should be used instead.) This tag (as well as the XMP tag) is no longer standard HTML. They are considered "obsolete" in the HTML 2.0 specification and the HTML 3.2 draft, but they should be implemented by browsers for backward compatibility.

Style Sheet Attributes
[More on Cascading Style Sheets]
Class
2 | 3 | 3.2 | IE3B1 | M | N4B2
Required? No
Description:
This represents an assigned semantic classification grouping(s) for the current tag.
Values:
Given as a comma separated list of alphanumeric characters. Class names may contain spaces (multiple consecutive spaces treated as a single space.)
ID
2 | 3 | 3.2 | IE3B1 | M | N4B2
Required? No
Description:
This assigns an alpha-numeric identifier that is unique to this tag instance. Style sheets may use this attribute to reference the current instance of this tag. Hyperlinks may also use this identifier to serve as a destination.
Values:
An alphanumeric string - initial character must be a letter followed by alphabetic characters, digits, "-" or "." characters. The allowable set of alpha-characters is restricted to the A-Z and a-z set.
Style
2 | 3 | 3.2 | IE3B1 | M | N4B3
Required? No
Description:
This attribute is a text string that provides rendering style information for the current tag.
Values:
Please see the description of inline styles for more information on how to use this attribute and its possible values.
Example
<listing>text <tag> text</listing>
Parent Model
NA
Content Model
NA
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...