Netscape introduced several "extensions" for lists, which have been since then integrated into standard HTML. Most browsers now support these attributes.
These attributes control the numbering of ordered lists.
A TYPE attribute to the UL element is used for specifying the type of bullet to be used with the list items. Possible values are "disc" (filled disc), "circle" (open circle) and "square".
VALUE is valid only inside an OL list, and specifies the item number for the given list item. All subsequent items are ordered from this number. The TYPE attribute specifies the type of numbering ("A", etc.) or bulleting ("circle", etc.) depending on whether the LI is inside an OL or UL list.
<ol start=4 type="i">
<li>1st item
<li>2nd item
<li type="1" value=6>
6th item; type="1" value="6"
<li type="A">
7th item; type="A"
</ol>
|
|
<ul type="square">
<li>1st square
<li>2nd square
<li type="circle">
3rd item; type="circle"
<li type="disc">
4th item; type="disc"
</ul>
|
|
