Name
type — NN n/a IE 4 DOM 1
Synopsis
Read/Write
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 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.all.instruxListItem3.type = "a" document.all.point4.type = "square"
Value
For an OL style list, possible values are:
A | a | I |
i | 1. Sequencing is performed
automatically as follows:
|
Type |
Example |
|---|---|
A |
A, B, C, ... |
a |
a, b, c, ... |
I |
I, II, III, ... |
i |
i, ii, iii, ... |
1 |
1, 2, 3, ... |
For a UL-style list, possible values are:
circle | disc |
square.
Default
1 and disc
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access