See W3C documentation for the XHTML table model.
Sets the horizontal (line) alignment inside a table cell or paragraph
In tables, the @align attribute is used in two different ways. 1) It specifies the horizontal alignment for the entire cell (such as “center” or “justify”. 2) It is used for aligning values in table cells on a particular character within the cell, commonly a decimal point. Alignment on a particular character requires that three attributes be set in the XML document:
In Paragraph, the attribute value specifies the horizontal alignment for the paragraph.
Value | Meaning |
---|---|
center | Center align the paragraph contents |
justify | Fully justify paragraph contents (right and left justification) |
left | Left align paragraph contents |
right | Right align paragraph contents |
Default value: left |
Value | Meaning |
---|---|
center | Center align the cell contents |
char | Align the text on the character identified with the @char attribute |
justify | Fully justify cell contents (right and left justification) |
left | Left justify cell contents |
right | Right justify cell contents |
Restriction: This attribute may be specified if the element is used. |