HTML and CSS Reference
In-Depth Information
<tr align="center">
<th><h1>Baseline_ _<br />Another line</h1></th>
<td valign="top">AAyy</td>
<td valign="baseline">_AAyy_</td>
<td valign="center">AAyy</td>
<td valign="middle">AAyy</td>
<td valign="bottom">AAyy</td>
You also can specify the horizontal and vertical alignments for individual
cells within a row (see Section ). Use the alignment attributes
in the <tr> tag to specify the most common cell-content justifications for
the row (if not the default), and use a different align or valign attribute
for those individual cells that deviate from the common alignment.
Table 10-1 contains the horizontal ( align ) and vertical ( valign ) table
cell-content attribute values and options. Values in parentheses are the
defaults for the popular browsers.
Table 10-1. Table cell-content alignment attribute values
and options
Headers (<th>)
Data (<td>)
Search WWH ::

Custom Search