Table tFoot Attribute
Definition and Usage
tFoot
The attribute returns a reference to the table's <tfoot> element.
The <tfoot> element is used to group footer content in an HTML table.
Tip:The tHead attribute returns a reference to the table's <thead> element.
See also:
HTML Reference Manual:HTML <tfoot>-tag
Example
Output the innerHTML of <tfoot>:
alert(document.getElementById("myTable").tFoot.innerHTML);
Syntax
tableObject.tFoot
Tekniska detaljer
Returvärde: | En hänvisning till tabellens <tfoot>-element; om det inte är definierat, är det null . |
---|
Webbläsarstöd
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Stöd | Stöd | Stöd | Stöd | Stöd |