1. Home
  2. Computing & Technology
  3. Web Design / HTML

<tbody></tbody>

By Jennifer Kyrnin, About.com

<tbody> description:

The <tbody> element defines table bodies.

<tbody> Web Browser Support:

<tbody> Attributes:

<tbody> End Tag:

</tbody> optional

Contents:

Table rows. The following tags are valid within the <tbody> tag:
tr

<tbody> Valid Context:

The <tbody> tag is valid within the following tags:
table

<tbody> Usage:

  • table with tbody
    <table border width="200">
    <tr><td>
    column 1
    </td><td>
    column 2
    </td></tr>
    <tbody>
    <tr><td colspan="2">this is the body row</td></tr>
    </tbody>
    </table>

<tbody> Special Notes:

  • Long tables can be divided into multiple "body" sections to give more definition to the table.

More <tbody> Information:

Return to XHTML element (HTML Tags) Library

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. HTML and XHTML
  5. XHTML
  6. HTML Tags
  7. The tbody Element - table body - XHTML 1.0 HTML 4.0

©2008 About.com, a part of The New York Times Company.

All rights reserved.