| Type: | number |
|---|---|
| Inherited: | no |
| Used By: | td |
| See: | rowspan |
The colspan attribute can be set to cause a single table cell to span more than one column. It's use is identical to HTML.
The second row consists of one cell which is as wide as the whole table
<table>
<tr>
<td>Column 1</td>
<td>Column 1</td>
</tr><tr>
<td colspan="2">Both Columns</td>
</tr>
</table>