ALIGN sets the horizontal alignment of the cells in the row. One of the most common situations where
ALIGN is useful is when you have a row of table headers that you want to align left with the text instead of being centered. So, for example, this code sets the first row of cells to align left:
<TR ALIGN=LEFT> <TH>Fruit</TH> <TH>State</TH> </TR>
<TR> <TD>watermelon</TD> <TD>Georgia</TD> </TR>
<TR> <TD>apples</TD> <TD>Washington</TD> </TR>
which gives us this table:
|Fruit ||State |
|watermelon ||Georgia |
|apples ||Washington |
HTML 4.0 says that
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of
the Open Content License and the Open Publication License.
Contents may be redistributed or republished freely under these terms so long as credit to the original creator and
contributors is maintained.
HALIGN sets the horizontal alignment of the cells, but
HALIGN is currently poorly supported by the browsers while
ALIGN is well supported. Stick to
ALIGN for now.