Q. How can we use Ordered Lists?
Lists having numbered items are termed as ordered lists. They are used when items in the list have a natural order. They can also be used when number of items in the list needs to be known at a glance. To make an ordered list, simply change <UL> tag to <OL>.
<HTML>
<HEAD>
<TITLE>EXPERTSMIND.COM</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
What I want for my birthday
<OL>
<LI>a big red truck</LI>
<LI>a toy train</LI>
<LI>a Barbie doll</LI>
<LI>a drum set</LI>
<LI>binoculars</LI>
<LI>a month's extra pocket money</LI>
</OL>
</BODY>
</HTML>
Syntax of the <OL> tag is:
<OL TYPE="" START=""> where TYPE= "1", "a", "A", "i", "I" and START is the first item number.
<LI> </LI>
</OL>
Type of the numbering format desired must be specified as the value of TYPE attribute. The possible types are displayed above in syntax. Numbering starts from START attribute's value.