Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 89 - 2612_Digimind
P. 89

    d.   A student is working on an HTML table and wants to control how the borders of the table are displayed
                           using CSS. Which CSS property is specifically used to define the style of the table border?

                            (i)  Table-border                                 (ii)  Border-collapse
                           (iii)  Border-style                                (iv)  Border-width

                        e.   While building a glossary page, a student uses a definition list to explain technical terms. She wants
                           to specify the term being defined within the list. Which HTML tag is used for this purpose?
                            (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

                     2.  Fill in the blanks using the words from the help box.

                                                   Tabular, Cells, Border, Terms, Style

                        a.   CSS allows us to style tables for a single HTML page using the <____________> tag in the head section
                           of the HTML document.
                        b.  The <DT> tag in HTML is used to define the names or ____________ being defined within the list.

                        c.   The border-collapse  property  with the value 'collapse'  creates  a single border for  the table
                           ____________.
                        d.  The padding property is used to add space between the contents of a cell and the ____________.

                        e.  Tables are used in HTML to display data in a ____________ format.

                     3.  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.

                        c.  The border-collapse property with the value 'separate' creates a single border
                           for the table cells.

                        d.  The padding property specifies the space between cell contents in centimetres only.

                        e.  CSS allows us to style tables for a single HTML page.

                     4.  Answer in one or two words.
                        a.  Provide the syntax for utilising the list-style-type property.                 ____________
                        b.  Which HTML tag is used to provide a description or explanation for each
                           term listed?                                                                    ____________

                        c.  What is the term for a list contained within another list?                     ____________
                        d.  Name the tag used to designate the title of a row or column in a table.        ____________
                        e.  Which CSS property add space between the border and the contents of a cell?    ____________

                                                                                              Lists and Tables in HTML5  87

| 84 85 86 87 88 89 90 91 92 93 94 |