From http://www.w3schools.com (Copyright Refsnes Data)
ExampleAn HTML table with a thead, tbody, and a tfoot element:
|
The <tbody> tag is used to group the body content in an HTML table.
The tbody element should be used in conjunction with the thead and tfoot elements.
The thead element is used to group the header content in an HTML table and the tfoot element is used to group the footer content in an HTML table.
Notice that these elements will not affect the layout of the table by default. However, you can use CSS to let these elements affect the table's layout.
The <tbody> tag is only partially supported in all major browsers.
NONE
DTD indicates in which DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
Attribute | Value | Description | DTD |
---|---|---|---|
align | right left center justify char |
Aligns the content inside the tbody element | STF |
char | character | Aligns the content inside the tbody element to a character | STF |
charoff | pixels % |
Sets the number of characters the content inside the tbody element will be aligned from the character specified by the char attribute | STF |
valign | top middle bottom baseline |
Vertical aligns the content inside the tbody element | STF |
id, class, title, style, dir, lang, xml:lang |
For a full description, go to Standard Attributes.
onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup |
For a full description, go to Event Attributes.
From http://www.w3schools.com (Copyright Refsnes Data)