How to align texr center in html5 code example Example: how to center text in html text-align: center;