← All tutorials

GoCareerGo Tutorials

HTML Tutorial

Tags, attributes, HTML5 APIs and semantic markup — the web's foundation.

HTML Headings

h1 through h6 define six levels of section heading, from most to least important.

<h1>Main Title</h1>
<h2>Section</h2>
<h3>Subsection</h3>
  • Use exactly ONE <h1> per page — it's the primary heading for SEO and accessibility
  • Don't skip levels just for visual size — use CSS for styling instead
  • Screen readers use headings to build a page outline for navigation