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