CSS text-align Property

The css text-align property describes how inline content like text is aligned in its parent block element. text-align does not control the alignment of block elements itself, only their inline content.