August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.classes.className.tagName.listStyleType
The listStyleType property specifies the format of list items elements that are associated with the class called className. The definition can also specify a tag or the word all for tagName.
There are nine types of values that are valid for the listStyleType property: disc, circle, square, decimal, lower-roman, upper-roman, lower-alpha, upper-alpha, and none.
Note
The listStyleType property is only valid if the element also has the display property set to list-item.
Listing 7.78 uses the listStyleType property to format a list of items.
<html> <script> <!-- ... |
Read now
Unlock full access