Page 73 - CA 165 ver 1.0 Class 10
P. 73

In a list, it is also possible to use intermediate heading using <LH> (listed heading) tag instead of using
                 the <LI> tag for the listed item. The TYPE and START attributes are used with the <OL> tag. Let us learn
                 about them in detail.

                 TYPE Attribute
                 The TYPE attribute defines the type of serial or sequence number to be displayed in an ordered list. For
                 example 1,2,3,... A, B, C,... I, II, III, .... etc.
                 Some  ‘Value’  which are used with TYPE  attribute, in <OL> tag are:

                                Type Value                 Style                 Series of Sequence

                                     A         Capital Alphabet                A, B, C, D, ...
                                     a         Lowercase Alphabet              a, b, c, d, ......

                                      I        Capital Roman Nos.              I, II, III, IV, .....

                                      i        Lowercase Roman Nos.            i, ii, iii, iv, ......
                                     1         Arabic Numbers                  1, 2, 3, 4, ......

                         Notes
                         The default value of Type starts with 1 in ordered list.
                         The default value of Type is disc in unordered list.

                 Syntax to use the <OL> tag is as follows:

                   <OL TYPE = “Value” START = “Value”>
                   <LI> List 1
                   <LI> List 2
                    ...............

                   </OL>

                 START Attribute
                 This attribute of <OL> tag is used to specify the beginning of value of a series of items from a particular
                 position. The value of START attribute must be given in Arabic Numbers only.






























                                                                                         Introduction to HTML    71
   68   69   70   71   72   73   74   75   76   77   78