Page 111 - iPlus_Ver_2.0_class_7
P. 111

• <OL Type ="I" Start="2"> - will start the list from II.

                 • <OL Type ="i" Start="4"> - will start the list from iv.
                 The table given below shows different examples of the type attribute:
                                 Type       Numbering/Alphabetical Scheme                Examples

                                   A      Upper Case letters                         A,B,C,D…..
                                   a      Lower Case letters                         a,b,c,d……
                                   I      Upper Case Roman numbers                   I, II, III, IV…
                                   i      Lower Case Roman numbers                   i, ii, iii, iv…
                                   1      Numbers                                    1,2,3, 4……..

                 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>

                 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.

                     l  Disc
                     o  Circle

                        Square
                 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>



                                                                                                                 109
                                                                                        Lists and Tables in HTML
   106   107   108   109   110   111   112   113   114   115   116