Table Alignment Attribute Examples


The following table, illustrating TR attributes:

<table border width=40%>
<TR>
<TH>Column 1<BR>C1L2</TH><TH>Col. 2</TH>
</TR>
<TR ALIGN="left">
<TH>Column 1<BR>C1L2 </TH><TH>Col. 2</TH>
</TR>
<TR VALIGN="bottom"> 
<TH>Column 1<BR>C1L2 </TH><TH>Col. 2</TH>
</TR>
<TR>                 
<TH>Column 1<BR>C1L2 </TH><TH>Col. 2</TH> 
</TR>
<TR ALIGN="center"> 
<TD>abc<BR>123</TD><TD>xyz</TD>
</TR>
<TR ALIGN="right">
<TD>abc<BR>123</TD><TD>xyz</TD>   
</TR>
<TR VALIGN="top">    
<TD>abc<BR>123</TD><TD>xyz</TD>   
</TR>
<TR VALIGN="bottom">
<TD>abc<BR>123</TD><TD>xyz</TD>   
</TR>
</table>

is displayed as:

Picture of Example