Table tFoot Property
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
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