text-align in text-align div css code example Example: center text in css .class { text-align: center; }