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, B, C, ... |
|
|
a, b, c, ... |
|
|
I, II, III, ... |
|
|
i, ii, iii, ... |
|
|
1, 2, 3, ... |
Default
1
Object Model Reference
- IE
[window.]document.all.elementID.type
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