This page is Not Ready

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

tbody

Summary

The tbody tag is used to group the body content in an HTML table.

Overview Table

DOM Interface
HTMLTableSectionElement

The <tbody> element represents a block of rows that consist of a body of data for the parent table element, if the tbody element has a parent and it is a table.

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>

Related specifications

HTML 5.1
W3C Working Draft
HTML 5
W3C Recommendation
HTML 4.01
W3C Recommendation

See also

Related articles

HTML

Tables

Attributions