|Edward the Confessor||1042-1066|
|House of Normandy|
Sometimes a table has a heading cell that spans the distance of
several data cells, such as the table at the right.
A cell can be made to span two columns by putting the
colspan="2" inside a
tag (or a
the "Saxons" row of the table was done like this:
<tr> <th colspan="2" align="center">Saxons</th> </tr>
This also illustrates that you can align the individual elements within their cells with an align attribute.
It is also possible to tell a cell to span two or more rows
And, and individual cell can span multiple rows and multiple
columns by including both the colspan and the rowspan attribue.
There are many other interesting things you can do with tables. For example, you can have a complete table as a data item for a cell of an outer table.