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 types, the closing
</li> tag is optional, as it is
implied by the subsequent <li> or end
</ol> tags.
Description:
This attribute helps an author in situations with floating objects (images,
tables, etc.) produced through the Left and
Right ALIGN attributes. It allows content to stop being
flowed around the floated element.
Values: None
[DEFAULT - No special line breaking
effects are applied relative to the floating element.] Left [breaks line after this element
and moves down vertically until the right margin is clear of floated
objects.] Right [breaks line after this element
and moves down vertically until the right margin is clear of floated
objects.] All [breaks line after this element
and moves down vertically until both margins are clear of floated objects.]
Compact
2 | 3
| 3.2 | 4
| IE | M
| N | O
Required? No
Description:
This is a stand alone attribute flag that indicates a compact
rendering be used if possible, possibly because the list items
are small or the entire list is large.
Values: NA
Start
2 | 3
| 3.2 | 4
| IE1 | M
| N1 | O2.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 | 4
| IE1 | M
| N1 | O2.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.]
Some people leverage on a behavioral defect in browsers whereby
embedding data in a list structure without LI tags will induce
indentation. This is illegal HTML and not recommended.
Other methods can be used to
enforce indentation that are much safer.
Changing the font attributes (size, color, etc.) of the contents
of a List Item will not affect the appearance of the listing mechanism
(bullets.)
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 listing mechanism (the
bullets) if a font changing tag (e.g. FONT SIZE) spans a list structure
or if it is placed incorrectly before the first LI tag.