Colspan - Colspan - The
colspan
attribute defines the number of columns a cell should span. - Атрибут colspan определяет количество столбцов, которые должна занимать ячейка.
Näide:
<table>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
<tr>
<td colspan="2">Sum: $180</td>
</tr>
</table>