Easy Tutorial
❮ Canvas Shadowblur Tag Output ❯

HTML <thead> align Attribute

HTML <thead> Tag

Example

Align the content of the <thead> element to the left:


Browser Support

All major browsers support the align attribute.

Note: IE does not handle the "justify" value correctly; it treats it as centered.

Note: Very few browsers handle the "char" value correctly.


Definition and Usage

The align attribute specifies the horizontal alignment of content within the <thead> element.


Syntax

Attribute Values

Value Description
left Aligns the content to the left.
right Aligns the content to the right.
center Centers the content (default for table header elements).
justify Stretches the lines so that each line has equal width (like in newspapers and magazines).
char Aligns the content to a specific character.
❮ Canvas Shadowblur Tag Output ❯