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 attribute align for 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 align has the value char. 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.

 

> back to the alphabetical list of elements

   

 

 

 

back to top