<td> attributes
The <td> tag attributes are also similar to the previous ones, although there are some differences. The main differences are the colspan and rowspan attributes. This properties let you define the span of a cell column or row respectively. Here is an example of the use of colspan:
<table
border=2 >
<tr>
<td colspan=2 align='center'> Countries</td>
</tr>
<tr >
<td>Canada</td>
<td>Ontario</td>
</tr>
<tr >
<td>USA</td>
<td>Washington</td>
</tr>
<tr>
<td>England</td>
<td>London</td>
</tr>
</table>
| Countries |
| Canada |
Ontario |
| USA |
Washington |
| England |
London |
Here is an example of the use of rowspan:
<table
border=2 >
<tr >
<td rowspan=3 align='center'> Countries</td>
<td>Canada</td>
<td>Ontario</td>
</tr>
<tr >
<td>USA</td>
<td>Washington</td>
</tr>
<tr>
<td>England</td>
<td>London</td>
</tr>
</table>
| Countries |
Canada |
Ontario |
| USA |
Washington |
| England |
London |