20. Join cells of a table

Labels used

<td rowspan=2>
This attribute appears inside a <td> table element. Allows you to join the current cell with the cells to the right of the same row, to make a single cell larger.
<td colspan=2>
This attribute appears inside a <td> table element. Allows you to join the current cell with the cells below it in the same column, to make a single cell larger.

Page code

_images/html-table3-html.png

Result

_images/html-table3-web.png