Name
<tr> — NN 2, 3, 4, 6 MSIE 2, 3, 4, 5, 5.5, 6 HTML 4.01 WebTV Opera5
Synopsis
<tr>...</tr> (end tag optional)
Defines a row of cells within a table. A table row as delimited by
<tr> tags contains no content other than a
collection of table cells (<td>). Settings
made in the <tr> tag apply to all the cells
in that row, but individual cell settings override those made at the
row level.
Attributes
-
align=left|center|right|justify|char Deprecated. Aligns the text (or other elements) within the cells of the current row. This attribute has been deprecated by the HTML 4.01 specification in favor of positioning with style sheets.
-
bgcolor="#rrggbb"orcolor name Specifies a color to be used in the row. A row’s background color overrides the color specified at the table level.
-
char=character Specifies a character along which the cell contents will be aligned. The default character is a decimal point (language-appropriate). This attribute is generally not supported by current browsers.
-
charoff=length Specifies the offset distance to the first alignment character (
char) on each line. If a line doesn’t use an alignment character, it should be horizontally shifted to end at the alignment position. This attribute is generally not supported by current browsers.
-
valign=top|middle|bottom|baseline Deprecated. Specifies the vertical alignment of the text (or other elements) within cells of the current row.
Internet Explorer only
-
background=url of image file Specifies a graphic image ...
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