Text Alignment in CSS
Now we will learn how to align text. The text-align
property is used for this. Text can be aligned to the left (value left
), to the right (value right
), to the center (value center
) and simultaneously to both edges (value justify
).
We will look at text alignment in more detail in the following lessons.