View video tutorial

HTML <tfoot> Tag


The <tfoot> tag is used to group the footer content of a table.

HTML <tfoot> Tag

The <tfoot> element defines a set of summaries of table columns.

The <tfoot> element must be placed after any <caption>, <colgroup>, <thead>, <tbody>, or <tr> element in the HTML table.

The <tfoot> element does not affect the layout of the table but is useful for applying CSS.

The <tfoot> element must contain one or more <tr> elements.

Global attributes

Global attributes may be applied on all elements, although some elements may have no effect on them.

<accesskey>, <class>, <contenteditable>, <contextmenu>, <data-*>, <dir>, <draggable>, <dropzone>, <hidden>, <id>, <lang>, <spellcheck>, <style>, <tabindex>, <title>, <translate>.

Learning with HTML Editor "Try it Now"

You can edit the HTML code and view the result using online editor.


        <td colspan="3"> Total Salary</td>
Try it Now »

Click on the "Try it Now" button to see how it works.