font align html code example
Example 1: text align css
p{
text-align:center;/*values: center, left, right, etc...*/
}
Example 2: html text alignment
<p style="text-align: left;"> Left alignment </p>
<p style="text-align: right;"> Right alignment </p>
<p style="text-align: center;"> Center Align </p>
<p style="text-align: justify;"> Justify to width </p>
Example 3: text align justify
text-align: justify;
Example 4: text-align attribute in css
text-align:inherit;