HTMLTableSectionElement:The thead, tbody, and tfoot Elements
The thead, tbody, and tfoot elements are all represented by the HTMLTableSectionElement object. The property and methods defined by this object are shown in the following table.
Name | Description | Returns |
---|---|---|
rows | Returns the set of rows for this section of the table | HTMLTableRowElement[] |
insertRow(<index>) | Inserts a new row at the specified index | HTMLTableRowElement |
deleteRow(<index>) | Removes the row at the specified index | void |