Main Index |
Top Of Tree |
Tag Index |
Tag History
- What is it?
- The Ordered List element represents a list of items sorted by sequence
or order of importance. Typical rendering is a numbered list of items. The
only content of this list structure is the <li>
(list item) element. As with other list tags, the closing
</li> element is optional, as it is
implied by the subsequent <li> or end
</ol> tags.
- Attributes
- Start
- 2 | 3
| 3.2 | IE1
| M | N1.1
- Required? No
- Description:
This attribute is used to indicate a number other than
"1"
to use in incrementing the list structure. Values are automatically
converted to the TYPE attribute, if present.
- Values: Specified as a positive integer.
- Type
- 2 | 3
| 3.2 | IE1
| M | N1.1
- Required? No
- Description:
The TYPE attribute indicates different ordering label schemes to be
used instead of the default 1, 2, 3, etc.
- Values:
A [capital letters]
a [lower-case letters]
I [large roman numerals]
i [small roman numerals]
1 [default numbering scheme.]
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
- <ol TYPE="A" START="3">
<li>List item 1
<li>List item 2
<li>List item 3
</ol>
- Parent Model
- %Block Format
Parent% |
%Multimedia
Parent% |
<basefont> |
<body>
- Content Model
- <li>
Tips & Tricks
- Some people leverage on a behavioral defect in browsers whereby
embedding plain data in a list structure without LI tags will induce
indentation. This is illegal HTML and not recommended. Other methods
can be used to generally guarantee indentation.
- Changing the font attributes (size, color, etc.) of the contents
of a List Item will not affect the appearance of the listing numbers
(1,2,3,...)
- Lists are nestable.
Browser Peculiarities
- Internet Explorer, Mosaic and Netscape all produce the above described
indenting behavior for the mentioned invalid HTML.
- Both Internet Explorer and Netscape alter the appearance of the listing
mechanism (the numbers) if a font changing tag (e.g. FONT SIZE) spans a
list structure or if it is placed incorrectly before the first LI tag.
Boring Copyright Stuff...