javascript LI type
| type | NN 6 IE 4 DOM 1 | |||||||||||
| Read/Write | ||||||||||||
|
Indicates the manner in which the leading bullets, numbers, or letters of items in the list are displayed. Bullet styles are displayed when the li element is nested inside a ul element; numbers and letters are displayed for an ol element. If your script changes the type for a single li object, be aware that the change affects all subsequent li elements in the same list. |
||||||||||||
| Example | ||||||||||||
document.getElementById("instruxListItem3").type = "a";
document.getElementById("point4").type = "square";
|
||||||||||||
| Value | ||||||||||||
For an ol style list, possible values are: A | a | I | i | 1. Sequencing is performed automatically as shown in the following table. |
||||||||||||
For a ul-style list, possible values are: circle | disc | square. |
||||||||||||
|
||||||||||||
| Default | ||||||||||||
1 and disc (although values are empty unless the corresponding attribute is explicitly assigned). |
||||||||||||
Previous: javascript LI value
1175,Nickname,Homepage or email,Comments here,Add comment
