Page 30 - PlusGPT_V2.1_C7_Flipbook
P. 30

Let us use the <OL> tag.

                  <HTML>
                  <HEAD> <TITLE> Ordered List or Numbered List </TITLE> </HEAD>
                  <BODY>

                  <B> Cup of Tea </B>
                  <HR>
                  Steps to make a cup of Tea.

                  <OL>
                         <LI> Take 3/4 cup of water and boil it in kettle.
                         <LI> Add a table spoon sugar.
                         <LI> Add 1/4 cup of milk.
                         <LI> Pour the tea into a cup.

                         <LI> Add a tea bag.
                  </OL>
                  </BODY>

                  </HTML>




















                                                               Ordered list

                       Unordered Lists

                  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.
                  The <UL> tag has only TYPE attribute which describe the type of bullet style will appear with list items.
                  There are three bullet styles that can be used in an unordered list.

                     Disc

                  o  Circle
                     Square

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

                  <HTML>



                  28    Premium Edition-VII
   25   26   27   28   29   30   31   32   33   34   35