Search code examples
htmlhtml-tablecell

HTML 2x2 table: I want the first row is not divided in two parts


I have an HTML table 2x2.

In that table, I want the first row is not divided in two parts but only has one cell that occupies the full width of the table.

-------
|     |
-------
|  |  |
-------

How can I do that?


Solution

  • Try the colspan attribute.