ToC ~ Up ~ Prev ~ Next ~ Index |
Introduction to HTML Last Update: 5 January 1998 |
Netscape introduced several "extension" attributes for list elements, all of which were subsequently integrated into standard HTML. Essentially all browsers now support these attributes.
These attributes control the numbering of ordered lists.
The Netscape browser supports a TYPE attribute to the UL element for specifying the type of bullet to be used with the list items. Possible values are "disc" (filled disc), "circle" (open circle) and "square" (open square).
The Netscape browser supports TYPE and VALUE attributes for the LI element. 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.
Here are some examples.
<ol start=4 type="i"> <li>First item <li>Second item <li value=2>Third item; value=2 <li type="A">Second item; type="A" </ol>
which is rendered as:
ToC ~ Up ~ Prev ~ Next ~ Index |
Introduction to HTML © 1994-1998 by Ian Graham Last Update: 5 January 1998 |