+ 1
How to use "rowspan" atribute?
plz tell with some examples comparing with and without using this attribute.
3 Respuestas
+ 4
"rowspan" is used to extend cells down(vertical) and "colspan" to extend cells across(horizontal). To add up they are html table tag attributes. Use them directly on td(table data) elements. i.e
<table>
<tr>
<td rowspan="2"></td>
</tr>
</table>
+ 2
https://www.sololearn.com/discuss/335559/?ref=app
"rowspan" works analogically - it's just spanning <td> downwards, not rightwards
0
rowspan is use to combine to rows and center data at center. whiles the colspan is use to combine columns and data is centered.
<table>
<tr>
<td rowspan ="2"></td>
</tr>
</table>