Name
HTMLTableSectionElement — a header, footer, or body section of a table
Availability
DOM Level 1 HTML
Inherits from/Overrides
Node → Element → HTMLElement → HTMLTableSectionElement
Properties
-
readonlyHTMLCollectionrows An array (HTMLCollection) of HTMLTableRowElement objects representing the rows in this section of the table.
In addition to the rows property, this interface
defines the properties in the following table, which represent the
attributes of the underlying HTML element.
|
Property |
Attribute |
Description |
|---|---|---|
|
|
|
Default horizontal alignment of cells in this section of the table |
|
|
|
Default alignment character for cells in this section |
|
|
|
Default alignment offset for cells in this section |
|
|
|
Default vertical alignment for cells in this section |
Methods
-
deleteRow( ) Deletes the numbered row from this section.
-
insertRow( ) Inserts an empty row into this section at the specified position.
Description
This interface represents a <tbody>,
<thead>, or <tfoot>
section of an HTML table.
See Also
Type of
HTMLTableElement.tFoot, HTMLTableElement.tHead