**If you use the thead, tfoot and tbody elements, you must use every tag, but you can leave them blank. Tags should appear in this order: <thead>, <tfoot> and <tbody>, so that the browser can render the footer before receiving the table data. This tag is very handy using XML code.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title> The Page Title Goes Here </title>
</head>
<body>
<table border="1">
<thead>
<tr>
<td>This text is for the table header</td>
</tr>
</thead>
<tfoot>
<tr>
<td>This text is for the table footer</td>
</tr>
</tfoot>
<tbody>
<tr>
<td> This will be the text body of the table</td>
</tr>
</tbody>
</table>
</body>
</html>
Here is a example of the above table:
This text is for the table header |
This text is for the table footer |
This will be the text body of the table |
© Copyright 2001,2002 Southern Twilight All rights reserved.