<OL>
The OL element defines an ordered list of items. Normally, this should be
rendered by by browsers as a vertical list of items like a shopping list.
Before each item is a number indicating the ordinal position in the list.
The ending tag is required for this element.
Attributes
Attribute |
Description |
ID |
Identifies this tag to reference in script (program code) |
CLASS |
Define the class used to render this element (defined by a style sheet) |
TITLE |
A title that is associated with the element (displayed as a tooltip in Internet Explorer) |
VALUE |
[DEPRECATED] a whole number which indicates the starting number
for items in the list. |
COMPACT |
[DEPRECATED] A hint to browsers that the list should be rendered at a smaller size in order
to save space on the page. |
|
Example
<OL START="6">
<LI>Monday
<LI>Wednesday
<LI>Thursday
</OL>
Renders As:
- Monday
- Wednesday
- Thursday
Compatibility
HTML 4.01
|