Page 120 - Viva ICSE Computer Studies 7 : E-book
P. 120
Unordered List
A list of items that are marked with bullets is called an unordered list. This list starts with the
<UL> tag and each item in the list starts with the <LI> tag.
Syntax:
<HTML>
<BODY> Learn More
..
Unordered list is also known as bulleted list.
<UL>
By using the <LI> tag you can display the
<LI> ... </LI> listed items in ordered and unordered lists.
.... It is optional to use closing tag in <LI>.
</UL>
</BODY>
</HTML>
Example: Illustrating Unordered Lists
Ordered List
A list of items that is marked with numbers is called an ordered list. This list starts with the
<OL> tag and each item in the list starts with the <LI> tag.
Syntax:
<HTML>
<BODY>
... Learn More
<OL>
Ordered list is used in situations where it is
<LI> ... </LI> required to count the number of items or
.... order of the items is signifi cant.
</OL>
..
</BODY>
</HTML>
108