paragraph center html code example
Example 1: center p html
<p style="text-align: center">this is centered</p>
Example 2: how to center text in html
text-align: center;
<p style="text-align: center">this is centered</p>
text-align: center;