how to align text in the center of the page css code example Example: center text in css .class { text-align: center; }