Language References
Displays lines of text as a numbered or ordered list.
HTML Syntax
<ol
class = classname
id = value
start = n
style = css properties
title = text
type = 1 | a | a | i | i
event = script
>
The OL element displays an ordered, or numbered, list. The element is used with the LI element to designate the individual list items.
The default numbering style is determined by the browser, but authors can use the element’s type attribute to change the list's numbering sequence and style.
This element is a block element. Both the start and end tags are required.
OL Members
<p>To create an ordered list. </p>
<ol>
<li>Mark the start of the list with the OL tag
<li>Mark the beginning of each list item with
the LI tag
<li>Mark the end of the ordered list.
</ol>
To create an ordered list.
- Mark the start of the list with the OL tag
- Mark the beginning of each list item with the LI tag
- Mark the end of the ordered list.
DIR, LI, MENU, UL, Using Lists in HTML