HTMLTableSectionElement Interface


The HTMLTableSectionElement Interface represents the THEAD, TFOOT and TBODY elements.
IDL Definition

Interface HTMLTableSectionElement : HTMLElement {

           attribute  DOMString                  align;
           attribute  DOMString                  ch;
           attribute  DOMString                  chOff;
           attribute  DOMString                  vAlign;
  readonly attribute  HTMLCollection             rows;
  HTMLElement               insertRow(in long index);
  void                      deleteRow(in long index);
};

Semantic Requirements

  1. The align attribute specifies the horizontal alignment of data in cells.
  2. The ch attribute specifies the alignment character for cells in a column.
  3. The chOff attribute specifies the offset of alignment character.
  4. The vAlign attribute specifies the vertical alignment of data in cells.
  5. The rows attribute is a collection of rows in this table section.
  6. Methods

  7. The insertRow(index) method inserts a row into this section.
  8. The insertRow(index) method returns the newly created row.
  9. The deleteRow(index) method deletes a row from this section.

If you have comments or suggestions, email me at mbrady@nist.gov