This page is Not Ready

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

tfoot

Summary

The tfoot tag is used to group footer content in an HTML table.

Overview Table

DOM Interface
HTMLTableSectionElement

The <tfoot> element represents the block of rows that consist of the column summaries (footers) for the parent table element, if the tfoot element has a parent and it is a table.

Examples

The following code example uses the tfoot element and the table, tbody, td, and tr elements to create a table that includes the first row in the table body and the second row in the table footer.

<table>
<tbody>
  <tr>
    <td>
     This text is in the table body.
    </td>
  </tr>
</tbody>
<tfoot>
  <tr>
    <td>
       This text is in the table footer.
    </td>
  </tr>
</tfoot>
</table>

Related specifications

HTML 5.1
W3C Working Draft
HTML 5
W3C Recommendation
HTML 4.01
W3C Recommendation

See also

Related articles

HTML

Tables

Attributions