Page 97 - CA_165_V2.0_Flipbook
P. 97

<LI>Gaya
                        </UL>
                        <LI> Jharkand
                        <UL>
                               <LI>Ranchi
                               <LI>Bokaro
                               <LI>Jameshedpur
                        </UL>
                 </UL>
                 </BODY>
                 </HTML>
                 The output of the preceding HTML code is as follows:















                      Nested List (Unordered),
                       Bullet type and Indent
                        sets automatically.







                   DESCRIPTION LIST

                 HTML supports a list style which is called definition list or description list where terms are listed along
                 with their description like in a dictionary or encyclopedia. The definition list is the ideal way to present a
                 glossary, list of items, or other name/value list.

                                                              <DL> Tag

                       Type             Function            Attributes            Contains           Used Inside

                  Container tag    Defines a            None                 Multiple <DT> and  Typically placed
                                   description list.                         <DD> elements.       within <BODY>
                                                                                                  or other container
                                                                                                  tags.
                 Definition list makes use of following tags.

                    <DL>  Defines the start of the list
                    <DT>  A term

                    <DD>  Term definition

                    </DL>  Defines the end of the list


                                                                                         Introduction to HTML    95
   92   93   94   95   96   97   98   99   100   101   102