Table tFoot Attribute

Definition and Usage

tFoot The attribute returns a reference to the <tfoot> element of the table.

The <tfoot> element is used to group the footer content of an HTML table.

Tip:The tHead attribute returns a reference to the <thead> element of the table.

See also:

HTML Reference Manual:HTML <tfoot> tag

Example

Output the innerHTML of <tfoot>:

alert(document.getElementById("myTable").tFoot.innerHTML);

Prøv det selv

Syntaks

tableObject.tFoot

Tekniske detaljer

Returværdi: Referencen til tabellens <tfoot>-element; hvis det ikke er defineret, er det null.

Browser understøttelse

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Support Support Support Support Support