In this section, we will learn what HTML <tfoot> element is and how to use it.
HTML Table Footer: What is <tfoot> Tag in HTML?
HTML <tfoot> element is considered a container element and is used in the body of HTML <table> element to group the footer row/s of that table.
HTML <tfoot> Tag Syntax:
<tfoot> value </tfoot>
Example: using <tfoot> tag in HTML
See the Pen using <tfoot> tag in HTML by Omid Dehghan (@odehghan) on CodePen.
In this example, the footer of the table has one row and in that row there’s only one cell.