Name
tbody — A wrapper for the rows of an HTML table or informal HTML table
Synopsis
tbody (db.html.tbody) ::= tr+
Attribute synopsis
Attributes:
align(enumeration) = “left” | “center” | “right” | “justify” | “char”charcharoff(enumeration) =xsd:integer|xsd:string(Pattern: “[0–9]+%”)valign(enumeration) = “top” | “middle” | “bottom” | “baseline”
Description
The tbody wrapper identifies the
rows of a table that form the body of the table, as
distinct from the header (thead) and footer
(tfoot) rows.
In most tables, the tbody contains most of the
rows.
Processing expectations
This element is expected to obey the semantics described in Tables, as specified in XHTML 1.0 [XHTML].
Attributes
- align
Specifies the alignment of data and the justification of text in a cell.
Enumerated values: “left” Left-flush data/Left-justify text. This is the default value for table data.
“center” Center data/Center-justify text. This is the default value for table headers.
“right” Right-flush data/Right-justify text.
“justify” Double-justify text.
“char” Align text around a specific character. If a user agent doesn’t support character alignment, behavior in the presence of this value is unspecified.
- char
Specifies a single character within a text fragment to act as an axis for alignment. The default value for this attribute is the decimal point character for the current language as set by the
langattribute (e.g., the period in English and the comma in French). User agents are not required to support this attribute.- charoff ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access