how to position text in center html code example Example: how to center text in html text-align: center;