+ 1
What is the use of colspan and rowspan
4 Respostas
+ 22
rowspan="n" for merging n number of rows
colspan="n" for merging n number of columns
+ 2
like<table>
<tr>
<td rowspan=2>1</TD>
<TD>2</td>
</tr>
</table>
rowspan means merge two row at time using
+ 1
just think you are making a calculator then we can use rowspan and make it equal to a no. and this number is the no. of cell a row should span. and same goes for colspan.
+ 1
split the cell at time using rowspan and colspan