put text in the middle of a div code example Example: center text in div container text-align: center