text-align

H2 { text-align: left }

H3 { text-align: right }

H4 { text-align: center }

H5 { text-align: justify } plus some extra text text text text text to trigger justification

With the text-align property, the element's text can be left aligned, right aligned, centered, or justified.