Text Formatting

Text Alignment

We can make our text align the way we want, using the text-align property.

We can use the values left, right, center or justify to align the text accordingly.

As can be seen in the code editor, the text on our web pages is left aligned by default.