![](/images/new-backgrounds/1031264/3126445x1.webp)
Application Development
<thead>
This tag defines a table header. The thead, tfoot and tbody elements enable you to group rows in a table. When you create a table, you might want to have a header row, some rows with data, and a row with totals at bottom. This division enables browsers to support scrolling of table bodies independently of the table header and footer. When long tables are printed, the table header and footer information may be repeated on each page that contains table data.
Note | The <thead> must have a <tr> tag inside. If you use the thead, tfoot and tbody |
| elements, you must use every element. They should appear in this order: <thead>, |
| <tfoot> and <tbody>, so that browsers can render the foot before receiving all the |
| data. You must use these tags within the table element. |
|
|
The following attributes are supported:
Attribute | Value/s | Description |
|
|
|
align | right | Defines the text alignment in cells. |
| left |
|
| center |
|
| justify |
|
| char |
|
|
|
|
char. | character | Specifies which character to align |
|
| text on |
|
| Note: Only used if align="char"! |
|
|
|
charoff | Pixels (number, EX: “30” ) | Specifies the alignment offset to |
| % | the first character to align on. |
|
| Note: Only used if align="char"! |
|
|
|
valign | top | Specifies the vertical text |
| middle | alignment in cells |
| bottom |
|
| baseline |
|
|
|
|
id | unique_name | Defines a unique name for the |
|
| map tag. |
|
|
|
class | class_rule | The class of the element |
| style_rule |
|
|
|
|
title | tooltip_text | A text to display in a tool tip |
|
|
|
style | style_definition | An inline style definition |
|
|
|
2 - 11