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