What are header tags (H1 - H6) in SEO? Examples included

Posted on
May 15, 2023
Marketing Team
SEO plans from $1,199/month

All the value you need from an SEO agency. Request a free audit and proposal to uncover SEO gaps across your site.


What are header tags?

In SEO, headers play a key role in page optimization. Headers provide structure and organization to your page's topics that help users (and especially search crawlers) understand what your page is referring to. Header tags are on-page SEO elements that define different headings and sub-headings on your site's page. Headers range from H1 through to H6, and they provide a hierarchy for search crawlers to scan and index the different levels of your page.

How H1 - H6 tags impact SEO

When done right, header tags can have a noticeable impact on your SEO performance. They provide crawlers with valuable information about the topics and sub-topics of your content. Additionally, headers improve user experience by making your content more scannable, indexable, and easily consumable.

Header tags tips

Use relevant keywords

Add relevant keywords into your headers to improve their SEO value. Make sure that your keywords align with the content of your page.

Structure your header tags

Maintain an organized hierarchy by using H1 for your main title, H2 for section headings, and H3 to H6 for sub-headings. This helps search engines understand the topic and title structure of your content.

Write clear headers

Craft clear and concise headers that accurately summarize the content of the section. Users should be able to understand the topic at a glance.

Format your headers

Use appropriate formatting and styling to make your headers visually appealing and distinguishable from the regular text. This improves readability and helps users navigate through your content.

Use semantics

Header tags also play a role in semantic SEO, which focuses on understanding the context and intent behind search queries. By using descriptive and relevant headers, you provide search engines with additional context about your content, making it easier for them to match your webpages to user search intent.

Remember mobile users

With the increasing use of mobile devices, optimizing headers for mobile viewing is crucial. Ensure that your headers are responsive, well-sized, and properly aligned to provide a seamless user experience on different screen sizes and devices.

Examples of header tags for H1 - H6

H1 (Header 1)

The H1 tag represents the main title or heading of a page. It should be unique and capture the overall theme or topic of the content. The H1 tag is typically the most prominent heading on a page and carries the highest level of importance for SEO.

Example: "Welcome to the World of Delicious Recipes"

This H1 tag sets the tone for the entire page, welcoming visitors to a website dedicated to exploring a variety of mouthwatering recipes. It encompasses the main focus of the content, emphasizing the delightful culinary experience that awaits the readers.

H2 (Header 2)

The H2 tag is used for subheadings that provide a logical division within the content. It breaks down the main topic into more specific sections, allowing readers to navigate through the content easily.

Example: "Discover a Wide Range of Appetizers"

Under the H1 tag, this H2 tag introduces a section dedicated to appetizers. It signals to the readers that they can expect to explore different appetizer recipes, highlighting the diverse range of options available.

H3 (Header 3)

The H3 tag is used to further subdivide the content under H2 headings. It provides more specific information within a particular section, creating a hierarchical structure and improving readability.

Example: "Savory Starters to Kick Off Your Meal"

This H3 tag falls under the "Appetizers" section, focusing specifically on savory starters. It further narrows down the topic, letting your readers know that they will find appetizer recipes that can set the tone for a delicious meal.

H4, H5, H6 (Header 4, Header 5, Header 6)

The H4, H5, and H6 tags are used for additional subheadings within their respective parent headings. These tags allow for further organization and segmentation of content, providing even more specific details or subsections.

Example: "Mouthwatering Bruschetta Varieties" (H4)

Under the "Savory Starters" section, this H4 tag highlights different variations of bruschetta. It delves deeper into the specific type of appetizer, offering readers a mouthwatering selection of bruschetta recipes to choose from.

Example: "Classic Caprese Salad: A Refreshing Delight" (H5)

Within the "Mouthwatering Bruschetta Varieties" section, this H5 tag focuses on a particular recipe – the classic Caprese salad. It offers a refreshing and delightful option for readers who are looking to explore this specific appetizer.

Example: "Delectable Spinach and Artichoke Dip" (H6)

This H6 tag falls under the "Mouthwatering Bruschetta Varieties" section, providing yet another recipe option – a delectable spinach and artichoke dip. It offers readers another tantalizing choice to consider for their appetizer needs.

Remember, the purpose of using header tags is to structure your content, make it easier to read and navigate, and provide search engines with a clear understanding of the hierarchy and importance of the information on your page.

The final word on header tags

Optimizing for your header tags (and even meta descriptions and page titles) can help contribute to better SEO growth. You really want to focus on two types of users: your readers and search engine crawlers. When you follow best practices for header tags optimization and prioritize for user experience, you can improve your website page's visibility, improve content organization, and provide valuable info to both search engines and users.

If you need help with your on-page optimization, contact Segment SEO. Request a free audit of your website's meta tags and headers to identify and fix potential gaps across your pages.

Explore more updates

September 17, 2021

Checklist: On-page SEO strategies

April 3, 2023

Boost your SEO strategy with Segment's HubSpot partnership

April 24, 2023

Unit economics series: Average order value (AOV) and SEO