HTML tagHTML | |||||
The
tag must be a child ofThe
is used along with and which shows the different part of the table that are table head, table body, and table footer, however, it does not affect the layout of the table.These elements can be used for providing semantic information which can be helpful in accessibility purpose, or rendering the header at top and footer at the bottom while printing a large table.
Following are some specifications about the HTML tag
Display | Inline |
Start tag/End tag | Both Start and End tag |
Usage | Table body |
Output:
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 |
charoff | Number | It specifies the number of characters the content 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 |
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 |