<TR ...>

Usage Recommendation
use it if you use <TABLE ...>

  • ALIGN: horizontal alignment of cell contents
  • VALIGN: vertical alignment of cell contents
  • BGCOLOR: background color

<TR ...> designates a table row. Each <TR ...> element contains one or more <TD ...> or <TH ...> elements. For example, this code creates a table with two rows:

<TR> <TD>peaches</TD>    <TD>grapes</TD> <TD>oranges</TD> </TR>
<TR> <TD>watermelon</TD> <TD>limes</TD>  <TD>watermelon</TD> </TR>

which gives us this table

peaches grapes oranges
watermelon limes watermelon

Technically the end tag (</TR>) is optional. However, Netscape has a history of getting confused when the end tag is missing so it's best to always use </TR>.

About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.