Name
List Item
Description
Defines a list item either in an ordered list (OL) or an
unordered list (UL). Multiple LI tags are contained
within the OL or UL tags.
Attributes
TYPE
For ordered lists, this can be set to the following:
| Value |
Order of List Items |
| A |
A,B,C... |
| a |
a,b,c... |
| I |
I,II,III... |
| i |
i,ii,iii... |
| 1 (default) |
1,2,3... |
For unordered lists, this can be set to the following for the bullet point
type:
| Value |
| disc (default) |
| square |
| circle |
When lists (OL or UL tags) are
nested, the bullet point type will default to another e.g. the next default
unordered type is square.
Related Tags
The LI tag is used within the OL, UL
and MENU tags.
Example
Code
<p>States:</p>
<ol>
<li>Alabama</li>
<li type="A">Alaska</li>
<li type="I">Arizona</li>
<li>...</li>
</ol>
Generates
States:
- Alabama
- Alaska
- Arizona
- ...
Code
<p>States:</p>
<ul>
<li>New York</li>
<li type="square">Iowa</li>
<li type="circle">Massachusetts</li>
<li>...</li>
</ul>
Generates
States:
- New York
- Iowa
- Massachusetts
- ...
© Martin Allen 1999 - 2006. Last updated Sunday 15 October 2006 06:28:33 PM +0100.
|