H2 Tag
The second-level HTML heading used to mark major sections within a page.
Definition
The H2 tag is an HTML heading element β written as <h2>Section Title</h2> β used to mark the major sections of a web page, directly beneath the H1. A page can have multiple H2 headings, one per major section. H2s provide structure for readers (allowing scanning) and for search engines (communicating the page's subtopics). Including relevant keywords naturally in H2 headings strengthens on-page SEO.
Why It Matters
H2 headings are the primary structural tool for long-form content. They break a page into scannable sections, reducing cognitive load and improving user experience. Google frequently uses H2 headings to extract featured snippets and understand page structure. Well-written, keyword-relevant H2s also contribute to a page's overall relevance for its target topic.