🔍Header Tags
Also known as Heading Tags, H1 Tag, H1 to H6, Headings, H1, H2, H3
The HTML headings of a page, from H1 down to H6. They show its outline.
Think of it like
It is like the chapter names in a book. You can skim them and know the story.
Example
A guide on growing tomatoes uses one H1, then H2s for "Planting", "Watering" and "Picking". A reader jumps straight to watering.
Why it matters
Most visitors skim before they read. Headings that match their questions keep them on the page.
Definition
Example code
html
<h1>How to Grow Tomatoes</h1>
<h2>Planting</h2>
<h2>Watering</h2>
<h3>How often to water</h3>Common mistake
Key takeaways
- 1One H1. The page's main topic.
- 2Nest in order. H2 under H1, H3 under H2.
- 3Say the topic. Headings a reader can skim.