Page 97 - Trackpad_V4.0_c7_Flpbook
P. 97
<LI> Jackets </LI>
</UL>
</BODY>
</HTML>
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>
<LI> Vegetables </LI>
<UL>
<LI> Potato </LI>
<LI> Onion </LI>
</UL>
</OL>
Lists and Tables in HTML5 95

