ZVON > References > DOM2 Reference

HTMLTableElement (interface )


Own properties:
attributes  -  align, bgColor, border, caption, cellPadding, cellSpacing, frame, rows, rules, summary, tBodies, tFoot, tHead, width
methods  -  createCaption, createTFoot, createTHead, deleteCaption, deleteRow, deleteTFoot, deleteTHead, insertRow

Inherited properties:
This interface inherits all properties from HTMLElement, the generic interface for all element interfaces in DOM HTML, which itself inherits all properties from DOM Core interface Element and thus also Node.

Description:
The create* and delete* methods on the table allow authors to construct and modify tables. [HTML40] specifies that only one of each of the CAPTION, THEAD, and TFOOT elements may exist in a table. Therefore, if one exists, and the createTHead() or createTFoot() method is called, the method returns the existing THead or TFoot element. See the TABLE element definition in HTML 4.01.