The <tbody> tag is used for grouping table rows.

The <tbody> tag is used in conjunction with the <thead> tag and the <thead> tag in determining each part of the table (header, footer, body). Browsers can use this information to enable scrolling of the table body independently of the header and footer - particularly useful for large tables.

Example Code:
<table border = "1">
<tr><td colspan="2">Table Header (thead)</td></tr>
<tr><td colspan="2">Table Footer (tfoot)</td></tr>
<td>Cell 1</td>
<td>Cell 2</td>
<td>Cell 3</td>
<td>Cell 4</td>
<td>Cell 5</td>
<td>Cell 6</td>
Table Header (thead)
Table Footer (tfoot)
Cell 1 Cell 2
Cell 3 Cell 4
Cell 5 Cell 6
Attribute Definition
align Visual alignment.
Possible values:
  • left
  • center
  • right
  • justify
  • char
valign Vertical alignment.
Possible values:
  • top
  • middle
  • bottom
  • baseline
char Specifies a character to use for aligning text to. Used when align=char.
charoff Specifies an alignment offset (either in pixels or percentage value) against the first character as specified with the char attribute. Used when align=char
Global Attributes:

The <tbody> tag also supports the Global Attributes in HTML5

Event Attributes:

The <tbody> tag also supports the Event Attributes in HTML5