CSS Property: text-align
The alignment of a block of text and other inline boxes.

text-indent, word-spacing, letter-spacing, and text-align.Possible Values
| Value | Description |
|---|---|
left | Text aligns to left edge of the containing box. |
right | Text aligns to right edge of the containing box. |
center | Text centred within its containing box. |
justify | Text aligned both left and right. |
inherit | |
initial | |
unset | |
Example
p { text-align: center; }
