how to align text to left in 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: what are the different text align in html
/* There are four different text align values: left, right, center
and justify. For example: */
text-align: center;