rowspan Attribute
rowspan attribute defines the number of rows of a table cell should span. It can be used with <td> and <th> tag.
Example:
<table>
<tr>
<th>
Name:
</th>
<td>
Jason Statham
</td>
</tr>
<tr>
<th rowspan="2">
Hobbies:
</th>
<td>
Travelling
</td>
</tr>
<tr>
<td>
Gardening
</td>
</tr>
</table>
Run Example
Browser Support
Attribute |
Firefox |
Chrome |
IE |
Opera |
Safari |
rowspan |
yes |
yes |
yes |
yes |
yes |