tag

HTML

elements is used to define header of an HTML table. The tag is used along with and tags which defines table header, table body, and table footer in an HTML table.

The

tag must be child of

HTML

element, and it must be used before any , , or elements.

The tag should contain at least one row element inside it.

Syntax

Following are some specifications about the HTML tag

Display Inline
Start tag/End tag Start and End tag
Usage Table header

Example

Test it Now

Output:

HTML thead tag

Attribute:

Tag-specific attributes:

element. (Not Supported in HTML5) element to the character. (Not Supported in HTML5) element. (Not Supported in HTML5)
Attribute Value Description
align right
left
center
justify
char
It determines the alignment of the content inside the
char Character It specifies the alignment of the content inside the
charoff Number It specifies the number of characters the content that will be aligned from the character specified by the char attribute. (Not Supported in HTML5)
valign top
middle
bottom
baseline
It determines the vertical alignment of the content inside the

Global attribute:

The tag supports the Global attributes in HTML.

Event attribute:

The tag supports the Event attributes in HTML.

Supporting Browsers

Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
Yes Yes Yes Yes Yes
Next TopicHTML time Tag




Contact US

Email:[email protected]

HTML thead Tag
10/30