text left html code example
Example 1: html align text left
<p style="text-align: left;"> Left alignment </p>
Example 2: html align text right
<p style="text-align: right;"> Right alignment </p>
Example 3: text-align attribute in css
text-align:inherit;