Easy Tutorial
❮ Canvas Fillrect Tag Video ❯

HTML <col> align Attribute

HTML <col> Tag

Example


Browser Support

Only Opera and Internet Explorer 8 and earlier versions support the align attribute (IE9 does not support this attribute).


Definition and Usage

The align attribute specifies the horizontal alignment of content associated with the col element.


Syntax

Attribute Values

Value Description
left Left-aligns the content (default).
right Right-aligns the content.
center Centers the content (default for th elements).
justify Stretches the lines so that each line has equal length (like in newspapers and magazines).
char Aligns the content to a specific character.
❮ Canvas Fillrect Tag Video ❯