Home

tablerowgroup

Tablerowgroup is a term used to describe a grouping of table rows within a tabular element. In HTML and related web standards, a table is organized into sections that separate header rows from body rows and footer rows. These sections are commonly represented by the elements thead, tbody, and tfoot, and collectively they function as tablerowgroups. Each group contains one or more table rows (tr) and serves to structure the table for rendering, accessibility, and styling.

In practice, tablerowgroups enable distinct handling of headers, body content, and footers. For example, header rows

From a programmatic perspective, the Document Object Model (DOM) exposes the table’s sections as separate objects.

Styling and accessibility considerations are common reasons to use tablerowgroups. Screen readers recognize the semantic roles

See also: HTML table, thead, tbody, tfoot, HTMLTableSectionElement, DOM.

in
thead
are
typically
rendered
before
body
rows
and
may
be
repeated
when
printing.
Body
rows
in
tbody
usually
constitute
the
main
data
portion,
while
tfoot
can
host
summary
or
aggregate
rows.
This
separation
supports
layout
features
such
as
sticky
headers,
zebra
striping,
and
targeted
styling.
A
table
element
can
provide
references
to
its
header,
body,
and
footer
groups,
and
these
groups
expose
their
own
collections
of
rows
and
methods
for
manipulation,
such
as
inserting
or
removing
rows
within
a
specific
tablerowgroup.
of
thead,
tbody,
and
tfoot,
and
CSS
can
apply
different
display
and
layout
rules
to
each
group.
Practically,
tablerowgroups
are
a
foundational
concept
for
organizing
and
styling
complex
tables
across
browsers
and
devices.