HTML DOM TFoot objekt

  • Föregående sida <td>
  • Nästa sida <th>

TFoot object

The TFoot object represents the HTML <tfoot> element.

Access TFoot object

You can use getElementById() to access the <tfoot> element:

var x = document.getElementById("myTFoot");

Try it yourself

Create TFoot object

You can use the document.createElement() method to create a <tfoot> element:

var x = document.createElement("TFOOT");

Try it yourself

TFoot object properties

egenskaper Description
align

HTML5 does not support.Använd istället style.textAlign.

Sets or returns the horizontal alignment of the content within the tfoot element.

ch

HTML5 does not support.

Sets or returns the alignment character within the tfoot element.

chOff

HTML5 does not support.

Sets or returns the horizontal offset of the ch attribute.

vAlign

HTML5 does not support.Använd istället style.verticalAlign.

Ställ in eller returnera den vertikala justeringen av innehållet i tfoot-elementet.

Standardegenskaper och händelser

TFoot-objektet stöder standarderegenskaperochHändelser.

Relaterade sidor

HTML-tutorial:HTML-tabeller

HTML-referenshandbok:HTML <tfoot>-etikett

  • Föregående sida <td>
  • Nästa sida <th>