Heading tags are HTML elements that are used on web pages. Headings are defined in descending order from
<h1> being the most important. Usually,
<h1> tags are styled the largest on the page followed by
<h2> tag and so on.
In most (if not all) cases, heading tags are used to break up the content on web pages. Here’s an example of heading tags on my site:
In HTML a heading text needs to be wrapped in a heading tag with the number to indicate the size. For example, the heading 1 in the example above would look like this:
There are several best practices you should follow when using heading tags on your website. Let’s run through them.
<h1>per web page
<h1> tag holds the high importance for SEO and it’s important to only include one per webpage.
Where possible your heading tags should contain your main keyword and other relevant keywords you want the page ranking for on Google.
Break up large sections of text by including relevant sub-headings using
<h2> and use
<h3> tags for any nested headings.