w3 text align left 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>
<p style="text-align: left;"> Left alignment </p>
<p style="text-align: right;"> Right alignment </p>