text-align default value css code example Example 1: css text align right body { text-align: right; } Example 2: text align justify text-align: justify;