XML technologies / HTML & XHTML / Alphabetical list of HTML and XHTML elements / tbody
(Excerpt from "HTML & XHTML ─ kurz & gut" by Jennifer Niederst Robbins)
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
tbody
HTML 4.01 | HTML 5 |
<tbody> ... </tbody>
Marks a row or row group as the table body. tbody must contain at least one row (tr). Row grouping elements (tbody, thead and tfoot) can speed up table rendering and allow the body to scroll independently of the header or footer. Row groups can also help when printing long tables with header information repeated on every page. The attributes char and charoff are not widely supported.
Start/end tag
HTML: Optional/Optional; XHTML: Required/Required
Attributes
Core, internationalization, events, global HTML 5 attributes
align="left|right|center|justify|char"Not available in HTML 5. Defines horizontal text alignment in one or more cells. The default is
left. The attributealignfor cell content is not officially deprecated in HTML 4.01/XHTML, but was dropped from HTML 5 in favor of stylesheets.char="Zeichen"Not available in HTML 5. Defines the character on which cell content aligns when the attribute
alignhas the valuechar. The default is a decimal comma, depending on the language. This attribute is rarely supported.charoff="Länge"Not available in HTML 5. Specifies the offset to the first alignment character (
char) on each row. This attribute is rarely supported.valign="top|middle|bottom|baseline"Not available in HTML 5. Defines vertical text alignment within the cells of a column.
Example
See the second example for the element table.
|
Copyright © 2010 O’Reilly Verlag GmbH & Co. KG
You may print the online version for your private use.
Otherwise, this chapter from "HTML & XHTML ─ kurz & gut" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
O’Reilly Verlag GmbH & Co. KG, Balthasarstraße 81, 50670 Köln, kommentar(at)oreilly.de