<OL>...</OL>
Create an ordered list of items. Ordered means that every item has an
identification in front of it to show the sequence.
<!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."
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 = 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.
 |
<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.
|