- 1
What is colspan in table and what's its use ? , is use for making space between the column lines and row lines ?
3 odpowiedzi
0
colspan is use for merging two or more columns.
+ 1
To make a cell span more than one column, use the colspan attribute.
<table style="width:100%">
<tr>
<th>Name</th>
<th colspan="2">Telephone</th>
</tr>
<tr>
<td>Jon Smitdh</td>
<td>55577854</td>
<td>55577855</td>
</tr>
</table>