
The Complete Idiot's HTML Tag Reference
| Index
| Previous Tag: <LEGEND>
| Next Tag: <LINK>
|
<LI>
Creates an item in a numbered list (see <OL>) or an unordered list (see <UL>).
Support:
-
Attributes:
- CLASS
= "Text"
The style sheet class used by the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
4.0 and later |
Notes:
-
You can specify two or more classes; be sure to separate each class name with a space.
- ID
= "Text"
An alphanumeric string that uniquely identifies the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
4.0 and later |
Notes:
-
Although you can use letters and numbers for the ID, the first character must be a letter.
- LANG
= "Text"
The language used by the tag's attribute values and text content.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
4.0 and later |
Not supported |
- STYLE
= "Text"
The style or styles to use with the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
4.0 and later |
Notes:
-
If you enter multiple style properties, separate each one with a semi-colon (;).
- TYPE
= "Text"
Sets the number format (for a numbered list) or the bullet format (for a bulleted list)..
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
3.2 and later |
1.0 and later |
1.0 and later |
Notes:
-
For a numbered list, you have the following choices for this attribute:
1 Standard numbers (1, 2, 3)
a Lowercase letters (a, b, c)
A Uppercase letters (A, B, C)
i Small Roman numerals (i, ii, iii)
I Large Roman numerals (I, II, III)
For an unordered list, you have the following choices:
disc The standard solid bullet
circle Circular bullet
square Square bullet
- This attribute is deprecated.
- VALUE
= Positive integer
The item number in an ordered list.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
3.2 and later |
1.0 and later |
1.0 and later |
Notes:
Example:
<B>My Ten Favorite U.S. City Names:</B>
<OL>
<LI>Toad Suck, Arkansas
<LI>Panic, Pennsylvania
<LI>Dismal, Tennessee
<LI>Boring, Maryland
<LI>Hell, Michigan
<LI>Two Egg, Florida
<LI>Muck City, Alabama
<LI>Rambo Riviera, Arkansas
<LI>King Arthur's Court, Michigan
<LI VALUE=11>Buddha, Indiana
</OL>
How It Looks:
- My Ten Favorite U.S. City Names:
- Toad Suck, Arkansas
- Panic, Pennsylvania
- Dismal, Tennessee
- Boring, Maryland
- Hell, Michigan
- Two Egg, Florida
- Muck City, Alabama
- Rambo Riviera, Arkansas
- King Arthur's Court, Michigan
- Buddha, Indiana
| Index
| Previous Tag: <LEGEND>
| Next Tag: <LINK>
|
|