A header tag, sometimes referred to as a title tag, are tags used within the page HTML to represent the hierarchy or importance of the title and, therefore, the content that follows it.

An H1, for example, represents the main page title and therefore should summarise what the page is about. There should also only be one of them per page. An H2 can be used more, although still sparingly, and should represent the main sections of content you’d find on the page.

At PushON, we liken header tags to writing an essay at school; an H1 is your essay title, an H2 would be the title of your main sections, and further H3s and H4s would be the titles of smaller sections within them.

Return to the Glossary