Page 92 - CA_165_V2.0_Flipbook
P. 92

21 st   #Technology Literacy
                                                 Lab Assignment ‘n Activity                      Century   #Critical Thinking
                                                                                                  Skills


                    Complete the following activities and tick on the circle.
                      Write HTML code to obtain the following output:
                          Use appropriate heading level as shown in the figure.
                          Use text highlighting tags such as Bold, Italic, Underline, etc.





















                    LISTS IN HTML
                  Many web pages may contain text that has to be displayed serially in a list. The list may be either ordered
                  or unordered. An ordered list is a series of items displayed in sequence with it whereas an unordered list
                  displays special bullets in the beginning of each list items only. There are two types of lists which can be
                  displayed in an HTML document:
                    Ordered or Numbered List

                    Unordered or Bulleted list

                  Creating Ordered or Numbered List
                  The <OL> tag is used to display a list of items in sequence or in an ordered manner. This tag is a container
                  tag. It begins with <OL> tag and it requires <LI> (List Item) tag to be used along with it. The items which
                  are followed by <LI> tag appear in sequence (e.g. numbers 1, 2, 3, etc.) on the browser window.

                                                               <OL> Tag
                        Type             Function           Attributes           Contains            Used Inside

                   Container tag     Defines an ordered  TYPE, START        Multiple <LI> (list   Typically placed
                                     list.                                  item) elements.      within <BODY> or
                                                                                                 other container tags.
                  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.




                    90   Touchpad Computer Applications-X
   87   88   89   90   91   92   93   94   95   96   97