shift text like paragraph css code example Example 1: justify text csss text-align: justify; Example 2: css text align right body { text-align: right; }