August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.tags.tagName.listStyleType
The listStyleType property specifies the format of list items elements associated with the tag called 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.180 uses the listStyleType property to format a list of items.
<html> <script> <!-- Hide //Create a style sheet tag that defines a list format document.tags.OL.display = "list-item"; ... |
Read now
Unlock full access