Latest

recent

HTML col align Attribute

Definition and Usage

The align attribute specifies horizontal alignment of the content in the table cell.

Syntax

col align="alignment" />

Syntax Example

<col align="center" />

Attribute Values

Value Description
left Left-align text/data (default for table data).
right Right-align text/data.
center Center-align text/data (default for table header).
justify Justify text within the cell
char Align the text/data around a specific character (use together with the char attribute)


Browser Support

The attribute is only supported by Internet Explorer, and Opera.
Note: Because of the poor support for this attribute, you should avoid using it.
HTML col align Attribute Reviewed by 1000sourcecodes on 06:00 Rating: 5
Powered by Blogger.