VersionW3C//DTD HTML 3.2 Final//EN
ElementTR
Purposehorizontal alignment; vertical alignment; table row container
DescriptionThis is the table row element. Use this in the TABLE element to hold the cells of table data (TD) or table headers (TH).
Start tagRequired <TR>
Attributes
NameTypeDefaultComment
align( left | center | right )#IMPLIEDhorizontal alignment
valign( top | middle | bottom )#IMPLIEDvertical alignment
Content( TH | TD )*
End tagOptional </TR>
Referenced in TABLE
Example
SourceAppearance
<TABLE Border="3" Cellpadding="3" Cellspacing="3" Align="center">
<CAPTION>The XHTML Playoffs</CAPTION>
<TR align="center"> <TH>Game</TH> <TH>Entities</TH> <TH>Elements</TH> </TR>
<TR align="center"> <TD>1</TD> <TD>3</TD> <TD>2</TD> </TR>
<TR align="center"> <TD>2</TD> <TD>4</TD> <TD>1</TD> </TR>
<TR align="center"> <TD>3</TD> <TD>0</TD> <TD>8</TD> </TR>
<TR align="center"> <TD>4</TD> <TD>8</TD> <TD>7</TD> </TR>
<TR align="center"> <TD>5</TD> <TD>2</TD> <TD>1</TD> </TR>
</TABLE>
The XHTML Playoffs
Game Entities Elements
1 3 2
2 4 1
3 0 8
4 8 7
5 2 1
Save this page to any social bookmarking site! Share · Search · Market · Directory
2015-11-01 · John December · Contact · Terms of Use © December Communications, Inc.