Page 68 - modular_v2.0_HTML&_CSS_Fb
P. 68

However, the list style can be specified by the TYPE attribute, like 1, a, A, i, or I.

                     UNORDERED LIST

                  An unordered list is also called bulleted list. This type of list is generally used to display random
                  items which never require to place in a sequential manner. The <UL> tag is used to define
                  an unordered list with any of the following bullets using the TYPE attribute or list-style-type
                  property.

                  There are three bullet styles that can be used in an unordered list:
                      l  Disc

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

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

                  <BODY>
                  <B> Winter Clothes </B>

                  <HR/>
                  <UL STYLE="list-style-type:disc;">
                  <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.

                  <!DOCTYPE HTML>
                  <HTML>
                  <HEAD> <TITLE> Nesting of Lists </TITLE> </HEAD>
                  <BODY>
                  <B> Fruits and Vegetables </B> <BR/>
                  <OL>


                   66
                          Touchpad MODULAR (Ver. 2.0)
   63   64   65   66   67   68   69   70   71   72   73