HTML DOM TFoot Object


TFoot Object

The TFoot object represents an HTML <tfoot> element.

Access a TFoot Object

You can access a <tfoot> element by using getElementById():

Example

var x = document.getElementById("myTFoot");
Try it Yourself »

Create a TFoot Object

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

Example

var x = document.createElement("TFOOT");
Try it Yourself »


TFoot Object Properties

Property Description
align Not supported in HTML5. Use style.textAlign instead.
Sets or returns the horizontal alignment of the content inside the tfoot element
ch Not supported in HTML5.
Sets or returns an alignment character inside the tfoot element
chOff Not supported in HTML5.
Sets or returns the horizontal offset of the ch property
vAlign Not supported in HTML5. Use style.verticalAlign instead.
Sets or returns the vertical alignment of the content within a tfoot element

Standard Properties and Events

The TFoot object also supports the standard properties and events.


Related Pages

HTML tutorial: HTML Tables

HTML reference: HTML <tfoot> tag


Copyright 1999-2023 by Refsnes Data. All Rights Reserved.