css text allign code example Example 1: text align justify text-align: justify; Example 2: text-align attribute in css text-align:inherit;