The TR Element and Its Attributes
The TR Element defines a single table row. The TR element can take the attributes
ALIGN and VALIGN, which define alignment properties for the contents of cells
within that row.
- ALIGN, which defines the horizontal alignment properties,
can take the values "left", "center" and "right".
- VALIGN, which defines the vertical alignment properties of
the cells, can take the possible values "top", "middle", "bottom".
The default values are ALIGN="left", and VALIGN="middle".
TD and TH Alignment Attributes
The individual table cells, defined by the TD and TH elements, can also take
the alignment attributes, to specify the alignment of the particular cell. This
overrides the alignment specification given by TR.
- The default values for TD cells are ALIGN="left", and
VALIGN="middle"
- The default values for TH are ALIGN="center", and
VALIGN="middle".