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.

NameDescriptionReturns
rowsReturns the set of rows for this section of the tableHTMLTableRowElement[]
insertRow(<index>) Inserts a new row at the specified indexHTMLTableRowElement
deleteRow(<index>) Removes the row at the specified indexvoid
Home 
  JavaScript Book 
    DOM