Extensions to List Elements

Netscape introduced several "extensions" for lists, which have been since then integrated into standard HTML. Most browsers now support these attributes.


OL Element -- START and TYPE Attributes

These attributes control the numbering of ordered lists.


UL Element -- TYPE Attribute

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".


LI Element -- TYPE and VALUE Attributes

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.


List Examples

Here are some examples.
<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>
  1. 1st item
  2. 2nd item
  3. 6th item; type="1" value="6"
  4. 7th item; type="A"
<ul type="square">
  <li>1st square
  <li>2nd square
  <li type="circle">
     3rd item; type="circle" 
  <li type="disc">
     4th item; type="disc"
</ul>
  • 1st square
  • 2nd square
  • 3rd item; type="circle"
  • 4th item; type="disc"

Example Picture