Page 107 - TP_Pluse_V2.2_Class_7
P. 107

<LI> Sweaters </LI>

                 <LI> Woollen Caps </LI>
                 <LI> Gloves </LI>

                 <LI> Jackets </LI>

                 </UL>
                 </BODY>

                 </HTML>




















                      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>

                 <LI> Vegetables </LI>

                 <UL>






                                                                                         Lists and Tables in HTML5  105
   102   103   104   105   106   107   108   109   110   111   112