<OL>...</OL>
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 ©
W3C,
(MIT,
INRIA,
Keio).
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
COMPACT
Show the list in a compact way, taking up less space.
START
Specify an alternate starting value for the list. Default is 1.
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
 |
<OL>
<LI>The first item of the list.
<LI>The second item of the list.
</OL>
|
|
 |
- The first item of the list.
- The second item of the list.
|
|
 |
<OL type="a" start="4">
<LI>The first item of the list.
<LI>The second item of the list.
</OL>
|
|
 |
- The first item of the list.
- The second item of the list.
|