align(HTML attribute)

Syntax

align=" { center | char | justify | left | right } "

Description

The
align attribute can be used to override the default
horizontal alignment of text inside table cells contained inside the
tbody. On the assumption that th
(table headers) have been used inside the thead area,
and td elements have been used for table body data, the
default alignment ranges the text to the left. By applying the
align attribute to the tbody,
you could change that alignment, for example, to
"center" or "right" (as shown in the
example HTML).

Example

This tbody will
set all text inside the nested td elements to align to
the right:

In the browsers
tested, "left", "right",
"center", and "justify" alignments
are all honored, but the "char" value, which is used
alongside the char and charoff
attributes, is ignored by all (or incorrectly deciphered as
"center").