0
Whats happens from clospan
In hindi
2 Answers
+ 7
Shubham Mishra colspan specifies the number of columns a cell should span. Please see my example
https://code.sololearn.com/W9NkFpvlwIIE/?ref=app
0
Shubham Mishra
colspan one or more columns ko single column me merge karta hai..
Example ke liye:
<table>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td colspan = "2"></td>
</tr>
</table>
1st tr me 3 td hai aur 2nd tr me 2 td hai aur 3rd td ko 2nd td me join kar diya hai colspan 2 ke sath.
Table structure aise dikhega
--------------------
| | | |
--------------------
| | |
--------------------