align text in center of page in html code example Example: how to center text in html <p><center>YourText</center></p>