0
what is the using of rowspain???
2 Answers
+ 1
for splitting a rows (tr)
+ 1
The rowspan* attribute specifies the number of rows a cell should span.
Syntax:
<td rowspan="number">
Example:
<table>
<thead>
<tr>
<th>Month</th>
<th>Savings</th>
<th rowspan="3">Savings for holiday!</th>
</tr>
</thead>
<tbody>
<tr>
<td>January</td>
<td>$100</td>
<tdrowspan="0">$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
</tbody>
</table>
Open this script in the app - http://www.sololearn.com/app/html/playground/WScUC0EBda9Y/
P.S. If you don't understand something just try it in the code playground.
- Dumitru
If this answer has helped you, give it a upvote by pressing the button that looks like an thumbs up (like).