Groups the footer content in a table.


<!-- Takes in footer content -->

Note: The <tfoot> element is usually used along with <tbody> and <thead>. which provides useful semantic information.

Example 1

Grouping the footer content in an HTML table.

<td>Model 3</td>
<td>1 giant rubber debugging duck</td>
<!-- All footer content will be inside the <tfoot> element -->
Items Cost
Model 3 $50,000
1 giant rubber debugging duck $10,000
Total $60,000


Interested in helping build Docs? Read the Contribution Guide or share your thoughts in this feedback form.

Learn HTML on Codecademy