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

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.