A header (thead), footer (tfoot), or body section (tbody) in an HTML table.
Platform Support
| IE | Mozilla | Netscape | Opera | Safari | Chrome | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ | no |
|---|
Constructors
| Constructor | Action | IE | Mozilla | Netscape | Opera | Safari | Chrome | ||
|---|---|---|---|---|---|---|---|---|---|
|
HTMLTableSectionElement Constructor() : HTMLTableSectionElement
A header (thead), footer (tfoot), or body section (tbody) in an HTML table.
|
Show Details | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ | no | ||
HTMLTableSectionElement() : HTMLTableSectionElementA header (thead), footer (tfoot), or body section (tbody) in an HTML table. Returns
|
|||||||||
Properties
| Property | Action | IE | Mozilla | Netscape | Opera | Safari | Chrome |
|---|---|---|---|---|---|---|---|
|
rows
: HTMLCollection
Array of all of the HTMLTableRowElement objects in the section of the table.
|
Show Details | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ | no |
|
|||||||
Functions
| Method | Action | IE | Mozilla | Netscape | Opera | Safari | Chrome | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
deleteRow(Number index) : void
Deletes the row at the specified position in the table section.
|
Show Details | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ | no | |||||
|
Parameters
Returns
|
||||||||||||
|
insertRow(Number index) : HTMLElement
Inserts a new empty row (tr element) at the specified position in the table.
|
Show Details | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ | no | |||||
|
Parameters
Returns
|
||||||||||||
Availability
HTML DOM Level 1|HTML DOM Level 2|W3C