Page 43 - KEC Khaitan C7 Flipbook
P. 43

REVISIT



                   ▶   Lists are used to group related pieces of information together so that information is convenient and easy to
                     read.
                   ▶   An ordered list is used when the items in the list are required to be in a specific order and need to be
                     numbered.
                   ▶   An unordered list is used when the items in the list are not required to be in a specific order.
                   ▶   A list within a list is known as a nested list or a sub-list.
                   ▶   Tables are used in HTML to display data in a tabular format.











                 1.  Tick ( ) the correct option.

                    a.  How can you change the list items to appear in Roman numerals in an ordered list?

                        (i)  <OL TYPE="i">                                (ii)   <UL TYPE="i">
                       (iii)  <OL TYPE="A">                               (iv)  <OL STYLE="roman">

                    b.  Which property is used to define the border of a table in HTML using CSS?
                        (i)  Border                                       (ii)  Padding

                       (iii)  Margin                                      (iv)  Outline

                    c.  Which tag is used to create an ordered list?
                        (i)  <UL>                                         (ii)  <OL>

                       (iii)  <DL>                                        (iv)  None of these

                    d.  Explain the role of the <DT> tag in an HTML.
                        (i)  Marking the beginning of the definition list

                       (ii)  The term or name being defined within the list
                       (iii)  Writing the definition of the data term

                      (iv)  Marking the ending of the definition list

                    e.  Which property is used to define the border of a table?
                        (i)  Table-border                                 (ii)  Border-collapse
                       (iii)  Border-style                                (iv)  None of these


                 2.  Write 'T' for true and 'F' for false.

                    a.  An ordered list is also known as a bulleted list.

                    b.  The <DL> tag in HTML stands for Definition List.



                                                                                          Lists and Tables in HTML5  41
   38   39   40   41   42   43   44   45   46   47   48