Javatpoint Logo
Javatpoint Logo

HTML <tbody> tag

HTML <tbody> tag is used to group the table rows (<tr>) together, which indicates that this is body part of a table (<table>).

The <tbody> tag must be a child of <table> element.

The <tbody> is used along with <thead> and <tfoot> 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.

Tips: The <tbody> tag must contain one or more <tr> elements.


Following are some specifications about the HTML <tbody> tag

Display Inline
Start tag/End tag Both Start and End tag
Usage Table body


Test it Now


HTML tbody tag


Tag-specific attributes:

Attribute Value Description
align right
It determines the alignment of the content inside the <tbody> element. (Not Supported in HTML5)
char character It specifies the alignment of the <tbody> content to the character. (Not Supported in HTML5)
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
It determines the vertical alignment of the content inside the <tbody> element. (Not Supported in HTML5)

Global attribute:

The <tbody> tag supports the Global attributes in HTML.

Event attribute:

The <tbody> tag supports the Event attributes in HTML.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
Next TopicHTML td Tag

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA