Name
Ordered List
Description
Defines an ordered list i.e. a list where each item is prefixed either with
numbers, letters or Roman numerals. Multiple LI
(list items) tags are contained within this tag to define each item in the list.
OL tags can be nested to create sub lists.
Attributes
TYPE
This can be set to the following to change the type of list:
| Value |
Order of List Items |
| A |
A,B,C... |
| a |
a,b,c... |
| I |
I,II,III... |
| i |
i,ii,iii... |
| 1 (default) |
1,2,3... |
When lists are
nested, the type will change automatically.
Related Tags
The LI tag is used within the OL this tag. The UL
(unordered list) tag can be used to create bullet pointed lists instead.
Example
Code
<p>States:</p>
<ol>
<li>Alabama</li>
<li>Alaska</li>
<li>Arizona</li>
<li>...</li>
</ol>
Generates
States:
- Alabama
- Alaska
- Arizona
- ...
© Martin Allen 1999 - 2006. Last updated Wednesday 08 November 2006 07:10:19 PM -0000.
|