CSS text-align property
For horizontal text alignment, developers use the text-align property. It allows you to apply centered, left, right, or justified alignment (which stretches the lines so that each line has equal width). The respective values are center, left, right, or justify.
Like in the example, centered alignment is a good fit for titles and short copy, while the left alignment is the most popular type for large blocks of text.

