HTML and CSS Reference
In-Depth Information
Name
tfoot
Synopsis
<tfoot> . . . </tfoot>
Defines a table footer. It is one of the “row group” elements. The
tfoot
element must appear
after any
caption
,
colgroup
, and
thead
elements. It may appear before or after the
tbody
element. There may only be one
tfoot
element in a
table
.
Usage
Categories:
None
Permitted contexts:
As a child of a table element, after any
caption
,
colgroup
, and
thead
elements and be-
fore any
tbody
and
tr
elements, but only if there are no other
tfoot
elements in the par-
ent
table
element. As a child of a
table
element, after any
caption
,
colgroup
,
thead
,
tbody
, and
tr
elements but only if there are no other
tfoot
elements in the parent
table
element.
Permitted content:
Zero or more
tr
elements
Start/end tags:
HTML: Start tag is required. End tag is optional if followed by a
tbody
or if there is no
more content in the parent element; XHTML: Required/Required
Attributes
HTML5 Global Attributes