Name
ol
Synopsis
<ol>...</ol>
Defines an ordered (numbered) list, which consists of list items
(li). The browser or other user
agent inserts item numbers automatically. The start
and type attributes are deprecated in favor of CSS
controls.
Attributes
Core(id,
class, style, title),
Internationalization,
Events
-
compact Deprecated. Displays the list as small as possible (not many browsers do anything with this attribute).
-
start="number" Deprecated. Starts the numbering of the list at
numberinstead of at 1.-
type="1|A|a|I|i" Deprecated. Defines the numbering system for the list shown next.
|
Type value |
Generated style |
Sample sequence |
|---|---|---|
|
1 |
Arabic numerals (default) |
1, 2, 3, 4 |
|
A |
Uppercase letters |
A, B, C, D |
|
a |
Lowercase letters |
a, b, c, d |
|
I |
Uppercase Roman numerals |
I, II, III, IV |
|
i |
Lowercase Roman numerals |
i, ii, iii, iv |