Language References
Specifies the type of list-item marker in an OL element.
Inline |
<element TYPE = '1' | 'a' | 'A' | 'i' | 'I'...> |
Script |
object.type = sType ] |
1 |
Associate numbers with each item in an ordered list. |
a |
Associate lowercase letters with each item in an ordered list. |
A |
Associate uppercase letters with each item in an ordered list. |
i |
Associate Roman numerals with each item in an ordered list. |
I |
Associate Roman numerals with each item in an ordered list. |
disc |
Associate a solid disc with each item in an unordered list. |
circle |
Associate a hollow circle with each item in an unordered list. |
square |
Associate a solid square with each item in an unordered list. |
The property is read/write with a default value of 1 for an ordered list and a default value of disc for an unordered list.
The following example sets the line item markers to lowercase Roman numerals.
<OL type="i">
<li>
<li>First Item
<li>
<li>Second Item
<li>
<li>Third Item
</OL>
Show me
LI, OL, UL