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