Glubase - share your knowledge


All / Computers / Programming / HTML / XHTML





  • View Command

HTML / XHTML Reference

HTML / XHTML thead definition

Browser support
IEFFOpSaf
PartialPartialPartialPartial

Browser support
VersionDeprecated
HTML 4.0False

Type: block-level element

Syntax

<thead> ... </thead>

Description

Defines a table header. The elements tbody, thead and tfoot are used to group the elements of a table into a header a footer and a body. The elements should be in the order: <thead>, <tfoot> and <tbody>.

Attributes

Common attributes.

Example

[Try this example yourself]
<table>
  <thead>
    <tr>
      <td>THEAD</td>
    </tr>
  </thead>
  <tfoot>
    <tr>
      <td>TFOOT</td>
    </tr>
  </tfoot>
  <tbody>
    <tr>
      <td>TBODY</td> 
    </tr>
  </tbody>
</table>

Output

THEAD
TFOOT
TBODY
  • Comments

No comments added.