how to align h1 to center css code example
Example: center h1 css
h1 {
width:500px;
margin: 0 auto;
background: gray;
text-align: center;
}
h1 {
width:500px;
margin: 0 auto;
background: gray;
text-align: center;
}