<OL>...</OL>

W3 3.2y
4.0y
NS 3.0y
4.0y
IE 3.0y
4.0y
TV 1.2y
2.1y
Description

Create an ordered list of items. Ordered means that every item has an identification in front of it to show the sequence.


DTD
<!ELEMENT OL - - (LI)+                 -- ordered list -->
<!ATTLIST OL
  %attrs;                              -- %coreattrs, %i18n, %events --
  >
from the HTML 4.0 DTD, "Copyright © World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved."
Attributes

Core attributes: class id style title
Internationalization attributes: dir lang
Events: onclick ondblclick onmousedown onmouseup onmouseover onmousemove onmouseout onkeypress onkeydown onkeyup


W3 3.2y
4.0d
NS 3.0n
4.0n
IE 3.0n
4.0n
TV 1.2n
2.1n
COMPACT
Show the list in a compact way, taking up less space.
W3 3.2y
4.0d
NS 3.0y
4.0y
IE 3.0y
4.0y
TV 1.2y
2.1y
START
Specify an alternate starting value for the list. Default = 1.
W3 3.2y
4.0d
NS 3.0y
4.0y
IE 3.0y
4.0y
TV 1.2y
2.1y
TYPE
This gives the type of sequencing you want to use for the list.

Value Description
A Use uppercase alphanumeric characters.
a Use lowercase alphanumeric characters.
I Use uppercase roman numerals.
i Use lowercase roman numerals.
1 Use arabic numbers.

The default is TYPE = 1. You can overrule the type for an item by using the TYPE attribute of the LI element.


Examples

Source
<OL>
<LI>The first item of the list.
<LI>The second item of the list.
</OL>
 
Result
  1. The first item of the list.
  2. The second item of the list.
 
Source
<OL type="a" start="4">
<LI>The first item of the list.
<LI>The second item of the list.
</OL>
 
Result
  1. The first item of the list.
  2. The second item of the list.


Statistics