Tbody (HTML element)

From Wiki @ Karl Jones dot com
Revision as of 05:47, 2 May 2016 by Karl Jones (Talk | contribs) (Created page with "In HTML, 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 an...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In HTML, 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.

Description

As a child of a table element, after any caption, colgroup, and thead elements, but only if there are no tr elements that are children of the table element.

Examples

<table>
  <caption>
    <p>table 1. List of HTML elements</p>
  </caption>
  <thead>
    <tr>
      <th>Number</th>
      <th>element</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>4.1.1</td>
      <td>html</td>
    </tr>
    <tr>
      <td>4.2.1</td>
      <td>head</td>
    </tr>
  </tbody>
</table>

See also

External links

  • [] @ w3.org
  • [] @ developer.mozilla.org
  • [] @ w3schools.com