text on left side css code example Example 1: text align center text-align: center; Example 2: text align justify text-align: justify;