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