6 out of 8 rated this helpful - Rate this topic

tbody element | tBody object

[This documentation is preliminary and is subject to change.]

Designates rows as the body of the table.

HTML 4.01 Specification, Section 11.2.3

Standards information

DOM Information

Inheritance Hierarchy

 Node
  Element
   HTMLElement
     tBody

Remarks

Valid tags within the TBODY element include:

The TBODY element is exposed for all tables, even if the table does not explicitly define a TBODY element.

The table object and its associated elements have a separate table object model, which uses different methods than the general object model. For more information on the table object model, see Building Tables Dynamically.

Windows Internet Explorer 8 will only render tables up to 1000 columns. To force Windows Internet Explorer 7 rendering mode, see How Do I Take Advantage of the New Features in Internet Explorer 8.

Examples

This example uses the TBODY element with the TABLE, TD, THEAD, and TR elements to create a table with the first row in the table head and the second row in the table body.


<TABLE>
<THEAD>
<TR>
<TD>
This text is in the THEAD.
</TD>
</TR>
</THEAD>
<TBODY>
<TR>
<TD>
This text is in the TBODY.
</TD>
</TR>
</TBODY>
</TABLE>

See also

Building Tables Dynamically

 

 

Build date: 3/8/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ