<td>One or more <a href="tr.html">TR</a> elements</td>
</tr>
<tr valign=top>
<th>Contained in</th>
<td><a href="table.html">TABLE</a></td>
</tr>
</table>
<p>The <strong class=html>TFOOT</strong> element defines a <em>group of footer rows</em> in a table. A <strong class=html><a href="table.html">TABLE</a></strong> may have one <strong class=html>TFOOT</strong>, which must follow the optional <strong class=html><a href="thead.html">THEAD</a></strong> and precede the required <strong class=html><a href="tbody.html">TBODY</a></strong>.</p>
<p>By explicitly grouping footer rows with <strong class=html>TFOOT</strong>, authors give browsers the ability to include the footer rows on each page of a printed, multi-page table, as well as the ability to present a long table with a scrolling body and static footer rows. However, few browsers currently support <strong class=html>TFOOT</strong>, and the requirement that it be placed before the <strong class=html>TBODY</strong> may make it unsuitable for non-supporting browsers. If the presentation of footer rows prior to body rows is not acceptable, authors should avoid using <strong class=html>TFOOT</strong> until browser support is greater.</p>
<p>A table footer may provide a summary row or footnotes that apply to the entire table or portions of it. The following example uses <strong class=html>TFOOT</strong> to contain footnotes for a table:</p>
<pre class=example><code class=html><TABLE SUMMARY="This table lists program available at the university
based on the discipline and type of degree.">
<CAPTION>Programs Available</CAPTION>
<COLGROUP CLASS="program-discipline">
<COLGROUP CLASS="program-type" SPAN=5>
<THEAD>
<TR>
<TH SCOPE=col>Program</TH>
<TH SCOPE=col>Honors Co-op</TH>
<TH SCOPE=col>Honors Regular</TH>
<TH SCOPE=col>General Regular</TH>
<TH SCOPE=col>*Preprofessional or Professional</TH>
</TR>
</THEAD>
<strong><TFOOT CLASS=footnote></strong>
<TR>
<TD COLSPAN=5>
Many disciplines are also available as Minors and Joint
Honors programs.
</TD>
</TR>
<TR>
<TD COLSPAN=5>
* Preprofessional programs normally fulfull the academic
requirements for registration in the related professions.
</TD>
</TR>
<strong></TFOOT></strong>
<TBODY>
<TR>
<TD SCOPE=row>Computer Science</TD>
<TD>yes</TD>
<TD>yes</TD>
<TD>no</TD>
<TD>no</TD>
</TR>
<var>...</var>
</TBODY>
</TABLE></code></pre>
<p>In addition to the <a href="../attrs.html">attributes common to most elements</a>, <strong class=html>TFOOT</strong> takes presentational attributes for specifying the alignment of cell data. Since few browsers support <strong class=html>TFOOT</strong>, authors may wish to specify these attributes on the <strong class=html><a href="tr.html">TR</a></strong> or <strong class=html><a href="td.html">TD</a></strong> elements instead.</p>
<p>The <strong class=html>ALIGN</strong> attribute specifies the horizontal alignment for each cell in the row group. Possible values are <strong class=html>left</strong>, <strong class=html>center</strong>, <strong class=html>right</strong>, <strong class=html>justify</strong>, and <strong class=html>char</strong>. <strong class=html>ALIGN=char</strong> aligns a cell's contents on the character given in the <strong class=html>CHAR</strong> attribute. The default value for the <strong class=html>CHAR</strong> attribute is the decimal point of the current language--a period in English. The <strong class=html>CHAROFF</strong> attribute specifies the offset to the first occurrence of the alignment character. The attribute's value is a number in pixels or a percentage of the cell's width; <strong class=html>CHAROFF="50%"</strong> centers the alignment character horizontally in a cell.</p>
<p>The <strong class=html>VALIGN</strong> attribute specifies the vertical position of a cell's contents. Possible values are:</p>
<ul>
<li><strong class=html>top</strong>, which positions data at the top of the cell;
<li><strong class=html>middle</strong>, the default value, which centers the cell data vertically;
<li><strong class=html>bottom</strong>, which positions data at the bottom of the cell;
<li><strong class=html>baseline</strong>, which specifies that the first line of each cell in the row with <strong class=html>ALIGN=baseline</strong> should occur on a common baseline.</li>
</ul>
<h2>More Information</h2>
<ul>
<li><a href="http://www.w3.org/TR/REC-html40/struct/tables.html#edef-TFOOT">TFOOT in <abbr class=initialism title="World Wide Web Consortium">W3C</abbr> HTMLá4.0 Recommendation</a></li>
</ul>
<div class=footer>
<address>Maintained by <a href="http://www.htmlhelp.com/%7Eliam/">Liam Quinn</a> <<a href="mailto:liam@htmlhelp.com">liam@htmlhelp.com</a>></address>