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