html tag to align center header code example
Example 1: center header html
<h1 align="center">This is heading 1</h1>
Example 2: how to center a html header
h1{text-align: center;}
<h1 align="center">This is heading 1</h1>
h1{text-align: center;}