The Web Design Group

TR - Table row

This element is also available in our updated HTML 4 reference. Some characteristics may have changed.

Appearance: <TR> [</TR>]
Attributes: ALIGN=left|right|center, VALIGN=top|middle|bottom
Contents: TH, TD.
May occur in: TABLE.

HTML tables are constructed as a sequence of rows. Each row of table cells should be enclosed in a TR tag. The end tag is optional, since it is usually obvious to see where a row ends - where the new row begins, or where the entire table ends.

The ALIGN and VALIGN attributes control the horizontal and vertical alignment of the entire row. ALIGN can be set for left, right or centered cells. VALIGN indicates that the table cell's contents should appear at the top, the middle or the bottom of the row.

For an example on how to construct tables, please see the section on the TABLE tag.


HTML 3.2 Reference  ~ Elements by Function  ~ Elements Alphabetically

Home, Forums, Reference, Tools, FAQs, Articles, Design, Links

Copyright © 1996 - 2006. Web Design Group All rights reserved.