Aligning Inline Elements in CSS
In the previous lesson, we learned how to align block elements. The described method works only for block elements. Inline elements are aligned differently - just set the parent property text-align to the desired value.