Colspan is used to make a cell as wide as any number of cells in others rows. Click on the number by the tag to see the table form.

1.   <table border=2><tr> <td colspan=2></td> </tr>

1

2.    <tr><td></td> <td></td></tr>

2

3.   <tr> <td colspan=2></td> </tr>

3

4.    <tr><td></td> <td></td></tr></table>

4




In the following examples, click on "CODE" to see the exact code that is making the tables.

PC users whose browser "sees" the table instead of the code can right click to view source code.


1 2 3
4 5 6
7 8 9

CODE


1
2 3 4
5 6 7 8
9 10

CODE

Rowspan][ Colspan and Rowspan Combined ][ Table Tute

Table Art][ jawjahboy.com