ⓘ tr – table row # T
The
tr
element represents
a row of cells in a table.
Permitted contents #
zero or more of: one td element,
or one th element
Permitted attributes #
- ⓘ
global attributes
- Any attributes permitted globally.
- aria =
#
- (detailed attribute description to come)
Additional constraints and admonitions #
-
The “align” attribute on the “tr” element is obsolete.
Use CSS instead. http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes
-
The “char” attribute on the “tr” element is obsolete.
Use CSS instead. http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes
-
The “charoff” attribute on the “tr” element is obsolete.
Use CSS instead. http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes
-
The “valign” attribute on the “tr” element is obsolete.
Use CSS instead. http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes
-
The “bgcolor” attribute on the “tr” element is obsolete.
Use CSS instead. http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes
Permitted parent elements #
table, thead, tfoot, tbody
Typical default display properties #
tr {
display: table-row;
vertical-align: inherit;
border-color: inherit; }