Name

<tbody> — NN 2, 3, 4 &bull; MSIE: 2, 3, 4, 5 &bull; HTML 4 &bull; WebTV &bull; Opera3

Synopsis

<tbody>...</tbody>

Within a <table>, defines a row or group of rows as the “body” of the table. It must contain at least one row (<tr>). The end tag is optional.

“Row group” tags (tbody, thead, and tfoot) were introduced by Internet Explorer and are part of the HTML 4.0 Specification, but all attributes may not be fully supported. The system could speed table display and provide a mechanism for scrolling the body of a table independently of its head and foot. It could also be useful for printing long tables for which the head information could be printed on each page.

Attributes

align=left|center|right|justify|char

Specifies horizontal alignment (or justification) of cell contents.

char=character

Specifies a character along which the cell contents will be aligned. The default character is a decimal point (language-appropriate).

charoff=length

Specifies the distance to the first alignment character (char) on each line. If a line doesn’t use an alignment character, it should be horizontally shifted to end at the alignment position.

valign=top|middle|bottom|baseline

Specifies vertical alignment of cell contents.

Get HTML Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.