Name
tfoot — A table footer consisting of one or more rows in an HTML table
Synopsis
tfoot (db.html.tfoot) ::= 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 tfoot wrapper identifies the
rows of a table that form the foot of the table, as
distinct from the header (thead) and body
(tbody) rows.
Footer rows are always rendered at the end of the table, despite their logical placement near the beginning.
Processing expectations
This element is expected to obey the semantics described in Tables, as specified in XHTML 1.0 [XHTML]. Footer rows are often presented in an alternate typographic style, such as boldface.
In paged media, if a table spans across multiple pages, footer rows are printed on the bottom of each page.
In our experience, relatively few formatters handle footer rows correctly.
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 ...
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