Name
Table Footer
Description
Defines the section of the table used as the footer (bottom). This tag is used within
the TABLE tag.
Rows (TR) and cells (TD) must be
defined as normal within this tag. The body (TBODY)
section of the table is
defined after the header (THEAD) and footer sections so that the header and footer are
downloaded first. When printing large tables, the header section should
always appear at the top of the table on every page (if supported by the
browser).
The use of the THEAD, TBODY and
TFOOT
in tables tags are optional.
Attributes
ALIGN
Specifies the alignment of the text in the cells. Valid values include:
| Value |
| center |
| left (default) |
| justify |
| right |
VALIGN
Specifies the vertical alignment of the text in the cells. Valid values
include:
| Value |
| baseline |
| bottom |
| middle (default) |
| top |
Related Tags
This tag must be used with the THEAD and TBODY
tags. They are all used within the TABLE tag.
The TR and TD tags are used within
this tag.
Example
Code
<table border="1" cellpadding="1" cellspacing="2"
bgcolor="#000000">
<thead>
<tr>
<th>Header Cell</th>
</tr>
</thead>
<tfoot>
<tr>
<td>Footer Cell</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>Body cell 1</td>
</tr>
<tr>
<td>Body cell 2</td>
</tr>
</tbody>
</table>
Generates
| Header Cell |
| Footer Cell |
| Body cell 1 |
| Body cell 2 |
© Martin Allen 1999 - 2006. Last updated Sunday 05 November 2006 02:02:25 PM -0000.
|