asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Elements > THEAD Element

<THEAD Element | THEAD Object


Designates rows as the table’s header.HTML 4, 4.01, 5

HTML Syntax

Remarks

This element is a block element.

A <thead> element’s end tag can be omitted if the <thead> element is immediately followed by a <tbody> or <tfoot> element.

Attributes

The <thead> element has no attribute of its own, but supports global attributes common to all HTML elements.

Example

This example shows a two-row table. The first row is in the table header. The second row is in the table body.

<table>
<thead>
<tr>
   <td>This text is in the table header.</td>
</tr>
<tbody>
<tr>
   <td>This text is in the table body.</td>
</tr>
</table>



Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note