Colspan

Colspan basically means how many rows the column will span over. This is especially helpful when designing your website. For example, if you want a table where there's a column with one cell/row and then in the column below it or above it you want two cells/rows, then you can use colspan="2" to tell the browser that this column will span over two cells/rows. We will show an example below:

<table border="1">

<tr>
<td>
Cell
</td>
<td>
Cell
</td>
<td>
Cell
</td>
</tr>

<tr>
<td colspan="3" width="200px" align="center">
colspan="3"
</td>
</tr>

<tr>
<td>
Cell
</td>
<td>
Cell
</td>
<td>
Cell
</td>
</tr>

</table>

CellCellCell
colspan="3"
CellCellCell

So, when you want to do something like the above then you would add the colspan="" in the <td> tag so it looks like this:

<td colspan="number">
Copyright Brains That Work .
Theme by Pool theme design by Borja Fernandez. ^Top^