text align center property in css code example Example 1: css text align left body { text-align: left; } Example 2: text align justify text-align: justify;