Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 85 - ClickGPT V4.0 C-5
P. 85

    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   83

| 80 81 82 83 84 85 86 87 88 89 90 |