Answers for "<h1> center"

2

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>
Posted by: Guest on December-20-2020

Code answers related to "<h1> center"

Browse Popular Code Answers by Language