Hyper Text Markup Language
Markup:
<tr valign=”” > = Vertical-aligned rows
<tr valign=”top”>
<tr valign=”middle”>
<tr valign=”bottom”>
<table style=”height:150px”>
<tr valign=”top”>
<th>Top</th>
<th>Row</th>
</tr>
<tr valign=”middle”>
<td>Middle</td>
<td>Row</td>
</tr>
<tr valign=”bottom”>
<td>Bottom</td>
<td>Row</td>
</tr>
</table>
Top | Row |
---|---|
Middle | Row |
Bottom | Row |
Note: The valign attribute is not supported in HTML5. Use CSS instead.