HTML <TR ...>

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

  • ALIGN: horizontal alignment of cell contents
  • HALIGN
  • 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:

<TABLE BORDER CELLPADDING=8>
<TR> <TD>peaches</TD> <TD>grapes</TD> <TD>oranges</TD></TR>
<TR> <TD>watermelon</TD> <TD>limes</TD> <TD>watermelon</TD></TR>
</TABLE>

which gives us this table

peachesgrapesoranges
watermelonlimeswatermelon

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>.

<TR ALIGN="..."> >