HTML Ordered List
If the ranking of items is desired, we employ ordered lists. To place individual list items, you use the <LI> tag as<OL>The code above is displayed by the browser as
<LI>Item One
<LI>Item Two
<LI>Item Three
<LI>Item Four
</OL>
- Item One
- Item Two
- Item Three
- Item Four
Numbers are the default bullets in ordered lists but you can change this using the TYPE attribute of <OL> tag. This attribute takes one of the five values:
- TYPE="a": Lowercase alphabet
- TYPE="A": Uppercase Alphabet
- TYPE="i": Lowercase Roman Numerals
- TYPE="I": Uppercase Roman Numerals
- TYPE="1": Regular number (default)
<OL TYPE="A">is displayed as
<LI>Item One
<LI>Item Two
<LI>Item Three
</OL>
- Item One
- Item Two
- Item Three