Defines the properties for an item in a list.
Browser/User Agent Support
| IE | Netscape | Mozilla | Opera | Safari |
|---|---|---|---|---|
| 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Example
This example sets the style for all list items to "square":
li {
list-style-type:square;
}
Remarks
Style rules for "li" elements will apply to elements in both ordered and unordered lists.


