Share via


TR HTML Element

The TR element specifies a table row. This is a block element and requires a closing tag.

Attributes

Attribute Value Description
ALIGN Left

Center

Right

Specifies table cell alignment.
BGCOLOR   Sets the table row background color. Table row background colors are disabled on grayscale devices, and backgrounds are always white.
CLASS   Associates the element with a CSS style.
Note   Supported only for devices running Windows Mobile 2003 software or later.
ID   Uniquely identifies the element within a document.
Note   Supported only for devices running Windows Mobile 2003 software or later.
STYLE   Provides the definition of the CSS styles used for this element.
Note   Supported only for devices running Windows Mobile 2003 software or later.
VALIGN Top Specifies the vertical alignment for the contents in a table cell. The top value aligns contents with the top of the table cell.
VALIGN Middle Aligns contents with the middle of the table cell.
VALIGN Bottom Aligns contents with the bottom of the table cell.
VALIGN Baseline Aligns the baseline of the first line of text with the baselines in adjacent table cells.
VALIGN Center Aligns contents with the middle of the table cell.

Requirements

Smartphone: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.