|
ColspanColspan 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>
<tr>
<tr>
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">
| ||||||||||