text-align

Manipulate the alignment of your text.

Value Description
right Align the element on the right.
center Center align the element.
left Align the element on the left.
justify Justifies the text.

Code:

p { text-align: right; }
h5{ text-align: justify; }

Display:

This paragraph is aligned to the right side of the HTML element. If you ever find a use for using right justify, please let us know. Just kidding, we don't really want to know.

This header is justified. We recommend that you either align your text to the left, which is the default setting, or justify your text. But feel free to experiment with all the available alignment options that are at your disposal.