A header (thead), footer (tfoot), or body section (tbody) in an HTML table.
Browser/User Agent Support
| IE | Mozilla | Netscape | Opera | Safari | Netscapte | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ | no |
|---|
Constructors
| Constructor | IE | Mozilla | Netscape | Opera | Safari | Netscapte |
|---|---|---|---|---|---|---|
A header (thead), footer (tfoot), or body section (tbody) in an HTML table. | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ | no |
Properties
| Property | IE | Mozilla | Netscape | Opera | Safari | Netscapte |
|---|---|---|---|---|---|---|
Array of all of the HTMLTableRowElement objects in the section of the table. | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ | no |
Methods
| Method | IE | Mozilla | Netscape | Opera | Safari | Netscapte |
|---|---|---|---|---|---|---|
Deletes the row at the specified position in the table section. | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ | no |
Inserts a new empty row (tr element) at the specified position in the table. | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ | no |
Availability
HTML DOM Level 1 | HTML DOM Level 2 | W3C
Constructor Detail
HTMLTableSectionElement HTMLTableSectionElement()
A header (thead), footer (tfoot), or body section (tbody) in an HTML table.
- Visibility
- internal
Property Detail
HTMLCollection rows - read only
Array of all of the HTMLTableRowElement objects in the section of the table.
-
For examples, see the quirksmode test page:
- Availability
HTML DOM Level 1 | HTML DOM Level 2 | W3C
Method Detail
deleteRow(Number index) : void
Deletes the row at the specified position in the table section.
| Number | index | Index position of the row to delete. |
-
For examples, see the quirksmode test page:
- See Also
- Availability
HTML DOM Level 1 | HTML DOM Level 2 | W3C
insertRow(Number index) : static HTMLElement
Inserts a new empty row (tr element) at the specified position in the table.
| Number | index | Index of the row before where the row will be inserted. |
-
For examples, see the quirksmode test page:
- See Also
- Availability
HTML DOM Level 1 | HTML DOM Level 2 | W3C
