Page 114 - TP_iPlus_V2.1_Class7
P. 114

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>

                  </BODY>

                  </HTML>






                                    If HTML tables were a city map and lists were the landmarks, how would
                                    you  design  a webpage  that  guides  visitors on  a journey  through  your
                                    creative vision?



                  Definition List


                  The definition list is also known as a description list. The description list is created by using the
                  <DL> tag in conjunction with <DD> and <DT> tags. The <DL> tag defines the entire description
                  list. The <DT> tag defines the description term. The <DD> tag defines the description term's
                  definition.




                   112
                         iPlus (Ver. 2.1)-VII
   109   110   111   112   113   114   115   116   117   118   119