Latest

recent

HTML colgroup align Attribute

Definition and Usage

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

Syntax

<colgroup align="alignment" />

Syntax Example

<colgroup 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 and should be avoided.
Note: None of the browsers support the char value of this attribute.
HTML colgroup align Attribute Reviewed by 1000sourcecodes on 05:48 Rating: 5
Powered by Blogger.