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