html text align center and justify code example
Example 1: html text justify
<p style="text-align: justify;"> Justify to width </p>
Example 2: how to justify text in html
<p align="justify">
<p style="text-align: justify;"> Justify to width </p>
<p align="justify">