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