OL TAG and ATTRIBUTES

<OL></OL>

This element is used to define an ordered or numbered list of items. The numbering style comes in many forms, including letters, Roman numerals, and regular numerals. The individual items within the list are specified by <LI> elements included with the <OL> element.


ATTRIBUTES

CLASS = "class name(s)"
START = "number"
STYLE = "style information"
TYPE = "a | A | i | I | 1"

EVENTS

onclick
ondblclick
onkeydown
onkeypress
onkeyup
onmousedown
onmousemove
onmouseout
onmouseover
onmouseup


CLASS  See Cascading Style Sheets (CSS) Information.

START  This attribute is used to indicate the value to start numbering the individual list items from. While the ordering type of list elements may be Roman numerals such as XXXI or letters, the value of START is always represented as a number. To start numbering elements from the letter "C," use <OL TYPE="A" START="3">.

STYLE  See Cascading Style Sheets (CSS) information.

TYPE  This attribute indicates the numbering type: "a" indicates lowercase letters, "A" indicates uppercase letters, "i" indicates lowercase Roman numerals, "I" indicates uppercase Roman numerals, and "1" indicates numbers. Type set in the <OL> element is used for the entire list unless a TYPE attribute is used within an enclosed <LI> element.

Back to Top