H tags are heading tags. They’re comparable to the headline and subheads of a newspaper or magazine article. The H1 tag is like an article headline, while H2, H3 and other H tags are like article subheads.
Each H tag consists of:
- the HTML code itself, telling us that this is a tag, and what kind.
For example: <h1>What the heading says</h1>
- the text that will be displayed on the web page.
Headings help you structure the content of a web page. The H1 tag indicates the overall topic of the page, and each subhead tag – H2, H3, and so on – indicates a subtopic of the page.
The H1 tag is the most important. When it's properly written, it quickly, clearly and concisely outlines what people and search engines can expect to find there.
For more information on how to use heading tags, read How H1 and Other Headings Help SEO.