Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 97 - 2610_Springdales_C-7
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

| 92 93 94 95 96 97 98 99 100 101 102 |