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