createTFoot Method

Internet Development Index

Creates an empty tFoot element in the table.

Syntax

oTFoot = TABLE.createTFoot()

Return Value

Returns the tFoot element object if successful, or null otherwise.

Remarks

If a tFoot already exists for the table, the createTFoot method returns the existing element. Otherwise, it returns a pointer to the element created.

Example

This example uses the createTFoot method to create a table footer.

myTFoot = document.all.myTable.createTFoot()

Standards Information

This method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

TABLE

See Also

createCaption, createTHead, deleteCaption, deleteTFoot, deleteTHead