Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 31 - 2619_PlusGPT V2.1_C-7
P. 31

    The default bullet style is Disc in HTML. Let us use the <UL> tag to create an unordered list:

                     <HTML>
                     <HEAD> <TITLE> Unordered List or Bulleted List </TITLE> </HEAD>

                     <BODY>

                     <B> Winter Clothes </B>
                     <HR>

                     <UL>

                            <LI>Sweaters</LI>
                            <LI>Woollen Caps</LI>

                            <LI>Gloves</LI>

                            <LI>Jackets</LI>
                     </UL>

                     </BODY>

                     </HTML>

                                                              Unordered list

                     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 nested list.

                     <HTML>

                     <HEAD> <TITLE> Nesting of Lists </TITLE> </HEAD>
                     <BODY>

                     <B> Fruits and Vegetables </B> <BR>

                     <OL TYPE = "square">
                     <LI> Fruits </LI>

                                                                                             Images and Lists in HTML  29

| 26 27 28 29 30 31 32 33 34 35 36 |