January 2003
Beginner to intermediate
1200 pages
23h 42m
English
You use <tr> to create rows in a table. This element can contain <th> (table header) and <td> (table data) elements. It is supported in XHTML 1.0 Strict, XHTML 1.0 Transitional, XHTML 1.0 Frameset, and XHTML 1.1. Here are this element's attributes:
align— Specifies the horizontal alignment of the text in this table row. You can set this to left, center, right, justify, or char. Unlike other align attributes, this one is not deprecated. (XHTML 1.0 Strict, XHTML 1.0 Transitional, XHTML 1.0 Frameset, XHTML 1.1.)
bgcolor— Deprecated in HTML 4.0. Specifies the background color of the table cells. (XHTML 1.0 Transitional, XHTML 1.0 Frameset.)
char— Specifies a character to align text on. (XHTML 1.0 Strict, XHTML 1.0 Transitional, ...