<COL
ALIGN=LEFT|CENTER|RIGHT
SPAN=n>
Sets the properties of one or more columns. Use this element in conjunction with a COLGROUP element to set the properties of a column within a group of columns.
CENTER | Text is aligned with the center of cells in the column. |
LEFT | Text is aligned to the left of cells in the column. |
RIGHT | Text is aligned to the right of cells in the column. |
This element is valid only within a table. The end-tag is not required and is not recommended.
The properties specified by the COL element always override the properties specified by the preceding COLGROUP element.
Example
<TABLE> <COLGROUP> <COL ALIGN=RIGHT> <COL ALIGN=LEFT> <COLGROUP> <COL ALIGN=CENTER> <TBODY> <TR> <TD>This is the first column in the group and is right-aligned.</TD> <TD>This is the second column in the group and is left-aligned.</TD> <TD>This column is in a new group and is centered.</TD> </TR> </TABLE>