Page 77 - ClickGPT V4.0 C-5
P. 77

<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   75
   72   73   74   75   76   77   78   79   80   81   82