HTML tagHTML elements is used to define header of an HTML table. The tag is used along with |
The tag should contain at least one row element inside it.
Following are some specifications about the HTML tag
Display | Inline |
Start tag/End tag | Start and End tag |
Usage | Table header |
Output:
Attribute | Value | Description |
---|---|---|
align | right left center justify char |
It determines the alignment of the content inside the element. (Not Supported in HTML5) |
char | Character | It specifies the alignment of the content inside the element to the character. (Not Supported in HTML5) |
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 element. (Not Supported in HTML5) |
The tag supports the Global attributes in HTML.
The tag supports the Event attributes in HTML.
Element | Chrome | IE | Firefox | Opera | Safari |
Yes | Yes | Yes | Yes | Yes |