CSS text-align property
Usage
Sets the alignment of text within an element
Values
- left - aligns the text to the left of the element (default)
- right - right justifies text
- center - center justifies text
- justify - adjusts letter spacing in order to align both the left and right sides of the text with the edges of the frame
Example
Code:
p {
text-align: justify;
}