lists with numbered items are known as ordered


Lists with numbered items are known as ordered lists.  They are utilized while the items in the list have a natural order. They can also be utilized when the number of items in the list needs to be known at a glance.  In order to make an ordered list, simply alter the <UL> tag to <OL>.

<HTML>

<HEAD>

<TITLE>ABC</TITLE>

</HEAD>

<BODY BGCOLOR="#FFFFFF"> what you want for your birthday

<OL>

<LI>a big red car</LI>

<LI>a soft toy</LI>

<LI>a doll</LI>

<LI>a beat set</LI>

<LI>aero plane</LI>

<LI> extra pocket money</LI>

</OL>

</BODY>

</HTML>

The 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>

The type of the numbering format desired must be indicated as the value of the TYPE attribute. The probable types are illustrated above in the syntax. The numbering begins from the START attribute's value.

Request for Solution File

Ask an Expert for Answer!!
PHP Web Programming: lists with numbered items are known as ordered
Reference No:- TGS0266757

Expected delivery within 24 Hours