Easy Tutorial
❮ Av Prop Ended Att Source Src ❯

HTML <tbody> align Attribute

HTML <tbody> Tag

Example

Right-align the content within the <tbody> element:


Browser Support

All major browsers support the align attribute.

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

Note: Few browsers handle the "char" value correctly.


Definition and Usage

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


Syntax

Attribute Values

Value Description
left Left-aligns the content (default for table data).
right Right-aligns the content.
center Centers the content (default for th elements).
justify Stretches the lines so that each line has equal width (like in newspapers and magazines).
char Aligns the content to a specified character.
❮ Av Prop Ended Att Source Src ❯