Headings

title Heading Levels

Six levels: <h1> to <h6>
<h1> is the most important (largest)
<h6> is the least important (smallest)
filter_1h1
filter_2h2
filter_3h3
filter_4h4
filter_5h5
filter_6h6

format_list_numbered Document Structure

Create hierarchical content outline
Improve accessibility and SEO
Use sequentially (don't skip levels)

lightbulb Best Practices

One <h1> per page (main title)
Use headings to introduce sections
Keep headings concise and descriptive
<body>
  <h1>Main Page Title</h1>
  <p>Introduction paragraph...</p>
  <h2>Section Title</h2>
  <p>Section content...</p>
  <h3>Subsection Title</h3>
  <p>Subsection content...</p>
  <h2>Another Section</h2>
  <p>More content...</p>
</body>
preview Browser Output

Main Page Title

Introduction paragraph...

Section Title

Section content...

Subsection Title

Subsection content...

Another Section

More content...