Page 118 - 2620_Birla Open Mind C-7
P. 118

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 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>

              </BODY>


              </HTML>


























                  116  Premium Edition-VII
   113   114   115   116   117   118   119   120   121   122   123