Page 107 - iPro_trackGPT_V5_Class7
P. 107
Unordered List
An unordered list is also called a bulleted list. This type of list is generally used to display random
items that are never required to be placed in a sequential manner. The <UL> tag is used to
define an unordered list with any of the following bullets using the TYPE attribute or list-style-
type property:
Disc
o Circle
Square
The default bullet style is Disc in HTML. Let us use the <UL> tag to create an unordered list:
<HTML>
<HEAD> <TITLE> Unordered List or Bulleted List </TITLE> </HEAD>
<BODY>
<B> Winter Clothes </B>
<HR>
<UL STYLE="list-style-type:disc;">
<LI> Sweaters </LI>
<LI> Woollen Caps </LI>
<LI> Gloves </LI>
<LI> Jackets </LI>
</UL>
</BODY>
</HTML>
Nested List
A nested list is a list withing another list. It is used to organise information into categories and
subcategories.
For example, an ordered list can be nested inside an unordered list and vice versa. Ensure that
the inner and outer list tags should be properly closed while creating a nested list.
Lists and Tables in HTML 105

