Latest web development tutorials
 

Table tFoot Property

< Table Object

Example

Alert the innerHTML of <tfoot>:

alert(document.getElementById("myTable").tFoot.innerHTML);
Try it Yourself »

Definition and Usage

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

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

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


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The tFoot property is supported in all major browsers.


Syntax

tableObject.tFoot

Technical Details

Return Value: A reference to the <tfoot> element of the table, or null if it is not defined

Related Pages

HTML reference: HTML <tfoot> tag


< Table Object