How do I align text both left and right in HTML? code example
Example 1: html align text left
<p style="text-align: left;"> Left alignment </p>
Example 2: 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;