Name

<tr> — NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4 - WebTV - Opera3

Synopsis

                     <tr>...</tr>
                  

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>). The end tag is optional.

Attributes

align=left|center|right

Aligns the text (or other elements) within the cells of the current row. This attribute has been deprecated by the W3C 4.0 Spec in favor of positioning with style sheets.

bgcolor= "#rrggbb" or color name

Specifies a color to be used in the row. A row’s background color overrides the color specified at the table level.

valign=top|middle|bottom|baseline

Specifies the vertical alignment of the text (or other elements) within cells of the current row.

Internet Explorer 2.0 and higher only

background= url of image file

Specifies a graphic image to be used as a tile within the row.

bordercolor= "#rrggbb" or color name

Defines the border color for the row.

bordercolorlight= "#rrggbb" or color name

Defines the dark shadow color for the row border.

bordercolordark= "#rrggbb" or color name

Defines the light highlight color of the row border.

Get Web Design in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.