Name

TYPE — NN all IE all HTML 3.2

Synopsis

TYPE=”labelType"

Optional

The TYPE attribute provides some flexibility in how the sequence number is displayed in the browser. For an ordered list, the choices are among letters (uppercase or lowercase), Roman numerals (uppercase or lowercase), or Arabic numerals. The TYPE attribute is deprecated in HTML 4.0 in favor of the list-style-type style sheet attribute.

Example

<OL TYPE="a">...</OL>

Value

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, ...

Default

1

Object Model Reference

IE

[window.]document.all.elementID.type

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.