The "text-align" CSS Property

This property sets the horizontal alignment of text (and inline-level content) in an element.

Values for "text-align"
CSS LevelValue
CSS 2.1"left", "right", "center", or "justify"
CSS3"start", "end", "left", "right", "center", "justify", "match-parent", or "justify-all"

Notes

  • This property does not control the alignment of block elements themselves, only their inline content.

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem