Table tFoot Property
Example
Alert the innerHTML of <tfoot>:
alert(document.getElementById("myTable").tFoot.innerHTML);
Try it Yourself »
Description
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
Property | |||||
---|---|---|---|---|---|
tFoot | Yes | Yes | Yes | Yes | Yes |
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