align
Using the align tag you can tell the table whether to go to the right, left, top or bottom of the text surrounding it.The align tag goes inside the table tag. The code for the table to be aligned to the left will look like this:
<table border="1" align="left">
<tr>
<td>row 1, column 1</td><td>row 1, columnn 2</td>
</tr>
</table>
<P>Surrounding text will be over here on the right and the table will be over on the left of the text just like this.</P>
Below is what this looks like:
The code for the table to be aligned to the right will look like this:
<table border="1" align="right">
<tr>
<td>row 1, column 1</td><td>row 1, columnn 2</td>
</tr>
</table>
<P>Surrounding text will be over here on the left and the table will be over on the right of the text just like this.</P>
Surrounding text will be over here on the left and the table will be over on the right of the text just like this.
You can also align the table to the top, bottom or center.


