center h1 css
h1 {
width:500px;
margin: 0 auto;
background: gray;
text-align: center;
}
center h1 css
h1 {
width:500px;
margin: 0 auto;
background: gray;
text-align: center;
}
how to center an h1 in html
<style>
h1 {
text-align: center;
}
h2 {
text-align: left;
}
h3 {
text-align: right;
}
</style>
/* or you can do inlne
<h1 align="center">Example</h1>
html h1 left align
<h1 style="text-align:center">Titulo 1</h1>
<h2 style="text-align:left">Titulo 2</h2>
<h3 style="text-align:right">Titulo 3</h3>
<h4 style="text-align:justify">Titulo 4</h4>
<p>...</p>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us