text middle in html code example
Example 1: how to center text in html
With the aid of internal or external CSS you can center text with:
text-align: center;
Example 2: how to center text in html
<p><center>YourText</center></p>
With the aid of internal or external CSS you can center text with:
text-align: center;
<p><center>YourText</center></p>