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 the HTML table.

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

See also:

HTML Reference Manual:Tag <tfoot> do HTML

Example

Output the innerHTML of <tfoot>:

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

Experimente você mesmo

Sintaxe

tableObject.tFoot

Detalhes técnicos

Retorno: Referência ao elemento <tfoot> da tabela; se não estiver definido,则为 null.

Suporte a navegadores

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Suporte Suporte Suporte Suporte Suporte