Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 105 - 2610_Springdales_C-7
P. 105

    COLSPAN: The COLSPAN attribute applies when a cell is extended to more than one column, that is,
                       the cell spans for 2 or more columns instead of 1, as shown in the table below:

                                                Roll No.        Name           Marks      Grade

                                                             First     Last

                     Here, “Name” cell is taking a span of 2 columns.

                              Experiential Learning                                                         Lab Activity

                        Make a table for correct uses of articles (A, An and The) in Word. Also make same table in HTML.

                             Topic Flashback                                                  21 st  Century   #Technology Literacy
                                                                                                  Skills  #Flexibility
                             Write the names of any four CSS properties of the <TABLE> tag in HTML5.

                           1.

                           2.

                           3.

                           4.

                                Quick Quiz

                      1.  To create an unordered (bulleted) list in HTML, which tag should you use?

                                 a.  <ul>                                      b. <ol>

                      2.  In HTML, which tag is used to create a table?

                                 a. <tbl>                                      b. <table>

                      3.   What HTML element is used to define a header cell in an HTML table?

                                 a. <th>                                       b. <td>

                      4.  If you set COLSPAN=3, then what will it do?

                                 a. It merges three rows.                      b. It merges three columns.

                                                                                            Lists and Tables in HTML5  103

| 100 101 102 103 104 105 106 107 108 109 110 |