OL
<OL
COMPACT
CLASS=string
ID=string
LANG=string
LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT
START=string
STYLE=string
TITLE=string
TYPE=1 | A | a | I | i
event = script
>
Draws lines of text as an ordered list.
-
COMPACT
-
Specifies that the list should be compacted to remove extra space between list elements.
-
CLASS=
-
Specifies the class of the tag being defined. This is most often used to associated a sub-classed style sheet with the tag.
-
ID=
-
An SGML identifier used as the target for hypertext links or for naming particular elements in associated style sheets. Valid names to script with are any alphanumeric string that begins with a letter. Valid special characters include underbar "_".
-
LANG=
-
This specifies the language to use. The specifier is an ISO standard language abbreviation.
-
LANGUAGE=
-
Specifies the language that the current script is written in. JavaScript is the default for this attribute.
-
START=
-
Specifies the starting number for a list.
-
STYLE=
-
Specifies an in-line style sheet for the tag.
-
TITLE=
-
The Title attribute is used to provide advisory information.
-
TYPE=
-
Changes the style of the list.
-
event
-
Can be one or more of these events:
onclick ondblclick
onhelp onkeydown
onkeypress onmousedown
onmousemove onmouseout
onmouseover onmouseup
onselectstart
This element is a block element.
Both the start and end tags are required.
Example
<OL>
<LI>This is the first item in the list.
<LI>And this is the second item in the list.
</OL>
<OL START=3>
<LI>This is item number 3.
</OL>
<OL TYPE=A>
<LI>This is item A.
</OL>