<OL></OL>
- Ordered ListsOrdered lists are numbered lists. You don't number them--the browser does. You must enter <LI>
before each list item.
This tag must be closed at the end of the list by typing </OL>
.
<OL>
%coreattrs %i18n %events |
D |
type=
|
[CS] |
---|---|---|
|
Specifies decimal numbering (1,2,3,4...). | |
|
Specifies lower-case lettering (a,b,c,d...). | |
|
Specifies upper-case lettering (A,B,C,D...). | |
|
Specifies lower-case Roman numerals (i, ii, iii, iv...). | |
|
Specifies upper-case Roman numerals (I, II, III, IV...). | |
This attribute determines which type of numbering will be used by the browser in an ordered list. The default numbering is decimal. |
D |
start=
|
[CN] |
---|---|---|
|
Specifies the start number. | |
This attribute tells the browser where to start numbering. The default starting number is one (or a, if lettering). |
Here is an example of an ordered list numbered with capital letters:
Here is the code for the sample above:
<OL type="A">
<LI>This is the first item.
<LI>This is the second item.
<OL>
<LI>First sub-item
<LI>Second sub-item
</OL>
<LI value=10>This item's number has been changed to 10.
<LI>This is the fourth item. (numbered 11)
<LI type="i">This item's numbering has been changed to lower-case Roman numerals.
<LI>This is the fifth item.
<LI>This is the sixth item.
</OL>