Page 121 - 2622_Delhi Police Public School_C-7
P. 121

<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  119
   116   117   118   119   120   121   122   123   124   125   126