Answers for "how to move the h1 and h3 tag into the center of a page"

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 "how to move the h1 and h3 tag into the center of a page"

Browse Popular Code Answers by Language