The text-align property defines the horizontal alignment of the text in the element.
text-align: left | right | center | justify | inherit
- left
Align the text to the left side of the element. - right
Align the text to the right side of the element. - center
Align the text to the middle of the element. - justify
Align the text so that the first and last characters are aligned with the left and right margins. - inherit
The element should have the same text-align setting as the parent.
Depends upon the user-agent.
All block-level elements.
This property is inherited.
Uppercase
<p style="text-align: right;>
The text in this paragraph is aligned to the right side.
</p>
- Justify will change the spacing between letters or words, and user-agents handle this in different ways.

