A header (thead), footer (tfoot), or body section (tbody) in an HTML table.
Platform Support
| IE | Mozilla | Netscape | Opera | Safari | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
|---|
Constructors
| Constructor | Action | IE | Mozilla | Netscape | Opera | Safari | ||
|---|---|---|---|---|---|---|---|---|
|
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+ | ||
HTMLTableSectionElement() : HTMLTableSectionElementA header (thead), footer (tfoot), or body section (tbody) in an HTML table. Returns
|
||||||||
Properties
| Property | Action | IE | Mozilla | Netscape | Opera | Safari |
|---|---|---|---|---|---|---|
|
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+ |
|
||||||
Functions
| Method | Action | IE | Mozilla | Netscape | Opera | Safari | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
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+ | |||||
|
Parameters
Returns
|
|||||||||||
|
static 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+ | |||||
|
Parameters
Returns
|
|||||||||||
Availability
HTML DOM Level 1|HTML DOM Level 2|W3C
