align center tag in html code example Example: center header html <h1 align="center">This is heading 1</h1>