OL.type (Property)

The presentation style of the ordered list.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myOL.type

Although the sequence numbers are incrementing in an ordered list, they may be displayed in a variety of different formats selected by this property.

You can override this on an item-by-item basis and so this property is related to the LI.type property.

The following type values are appropriate for this list type:

See also:LI.type, style.listStyleType, UL.type