Definition: The TR element lets you set default horizontal and vertical alignment of the row's cell contents. It also serves as a container for a row of table cells that are defined within the TD or TH elements. <TR> also allows you to disable the row's word wrap and use the <BR> element instead to determine line breaks (as well as cell widths).
Standard Attributes: CLASS, ID, LANG
You can use the ALIGN attribute to specify a horizontal alignment of paragraphs within a table row:
* align=left: Renders the paragraph flush left. The default for data cells (TD).
* align=center: Centers the paragraph. The default for header cells (TH).
* align=right: Renders the paragraph flush right.
* align=justify: Allows text lines to be justified where it's practical @md where it's not, it gives the same effect as the align=left setting.
Text lines are indented in a manner that makes the initial appearance of a decimal point on each line vertically aligned. When a line doesn't have a decimal point, it's centered for header cells and rendered flush left for data cells. If the ALIGN attribute isn't present, the default is overridden by the COLSPEC attribute on the TABLE element or the presence of an ALIGN attribute on the parent. The COLSPEC attribute takes precedence over the TR element.
DP indicates what character is to be used for the ALIGN attribute's decimal point @md for example, dp="," or dp="." (this is the default). It is possible to change the default by the language context, as set by the LANG attribute on enclosing elements.
By using VALIGN, you can specify the explicit vertical alignment of the material within a table row:
* valign=top: Cell contents appear at the top of each cell. This is the default.
* valign=middle: Cell contents are centered vertically in each cell.
* valign=bottom: Cell contents appear at the bottom of each cell.
* valign=baseline: Use this when you want to make sure that all cells in the row with valign=baseline share the same baseline. The only place that this constraint applies is with the first text line for each cell.
You can prevent the browser from automatically wrapping lines by using NOWRAP. If you would like to specify explicit line breaks, you can then do it by using the BR element.
Context: <TR> is legal within
The following markup can be used within <TR>
Suggested style/usage: Close Tag: OPTIONAL
<CAPTION>A nice table</CAPTION>