Page 49 - TP_Prime_V2.2_Class7
P. 49
<UL STYLE="list-style-type:disc;">
<LI> Sweaters </LI>
<LI> Woollen Caps </LI>
<LI> Gloves </LI>
<LI> Jackets </LI>
</UL>
</BODY> HTML—LISTS AND TABLES
</HTML>
47
Nested List
Every list has the ability to be placed inside another list. 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.
<HTML>
<HEAD> <TITLE> Nesting of Lists </TITLE> </HEAD>
<BODY>
<B> Fruits and Vegetables </B> <BR>
<OL>
<LI> Fruits </LI>
<UL>
<LI> Mango </LI>
<LI> Grapes </LI>
</UL>

