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