Headings belong superordinately to the task area of web design. Headings are mainly an important element for search engine optimization as well as usability of web pages.
The heading tag, or H-tag for short, is an identifying HTML element for headings and their importance. They are used to identify the different sections within a text. Since HTML tags are hierarchical, there are heading tags from one to six..
Main heading vs. Structuring content
The H1 describes the main heading of a text and is particularly highly weighted by Google in its importance. H2-H6 tags are structuring elements of a text and give Google an indication of the importance of the other headings.
There is a pattern for HTML elements, this must also be applied to heading tags. Each tag must therefore be placed in so-called angle brackets and provided with a closing tag.
Thematically relevant sub-pages: