/*
 * Copyright (c) 1998 World Wide Web Consortium, (Massachusetts Institute of
 * Technology, Institut National de Recherche en Informatique et en
 * Automatique, Keio University).
 * All Rights Reserved. http://www.w3.org/Consortium/Legal/
 */

package org.w3c.dom.html;

import org.w3c.dom.*;

The THEAD, TFOOT, and TBODYelements.
/** * The <code>THEAD</code>, <code>TFOOT</code>, and <code>TBODY</code>elements. */
public interface HTMLTableSectionElement extends HTMLElement {
Horizontal alignment of data in cells. See the align attribute for HTMLTheadElement for details.
/** * Horizontal alignment of data in cells. See the <code>align</code> * attribute for HTMLTheadElement for details. */
public String getAlign(); public void setAlign(String align);
Alignment character for cells in a column. See the char attribute definition in HTML 4.0.
/** * Alignment character for cells in a column. See the char attribute * definition in HTML 4.0. */
public String getCh(); public void setCh(String ch);
Offset of alignment character. See the charoff attribute definition in HTML 4.0.
/** * Offset of alignment character. See the charoff attribute definition in * HTML 4.0. */
public String getChOff(); public void setChOff(String chOff);
Vertical alignment of data in cells.See the valignattribute for HTMLTheadElement for details.
/** * Vertical alignment of data in cells.See the <code>valign</code>attribute * for HTMLTheadElement for details. */
public String getVAlign(); public void setVAlign(String vAlign);
The collection of rows in this table section.
/** * The collection of rows in this table section. */
public HTMLCollection getRows();
Insert a row into this section.
Params:
  • index – The row number where to insert a new row.
Returns:The newly created row.
/** * Insert a row into this section. * @param index The row number where to insert a new row. * @return The newly created row. */
public HTMLElement insertRow(int index);
Delete a row from this section.
Params:
  • index – The index of the row to be deleted.
/** * Delete a row from this section. * @param index The index of the row to be deleted. */
public void deleteRow(int index); }