Contents
It means they’re part of the page code that tells Google’s crawler about the content of the page. These tags work as titles or headers of the page, which explains why they’re also known as “HTML headers”. As mentioned above, they’re shown in most CMS editors as “Heading 1”, “Heading 2”, etc.
Because heading H1 through H6 tags all include a line break and also margins, you will need to add CSS code to remove the margins. Add the following to your template CSS file to format all H1 tags. You can do the same for H2 through H6 tags.
How to format H tags in HTML for SEO?
Editing heading tags with CSS for SEO H1 – H6 tags, also called “heading” tags are HTML code that’s used for heading titles on pages. Some search engines give more weight to text inside “H” tags. Usable H tags are H1 H2 H3 H4 H5 and H6.
How many H1 tags do you need for a website?
Check the first title in your “about.htm” to see if it uses an tag. It is advisable to only add one H1 tag on each webpage. You can add about five H2 tags and multiple H3 through H6 tags, however, search engines like Google and Bing may not list your pages as well if you have multiple H1 tags.
You can use different tags for the same content and it must be you who assigns them manually with your editor. But, again, you need to do it properly. You must respect the hierarchy. In other words, you can’t include an H4 inside an H2, just like you can’t add an H3 straight into the post if it’s not included in the immediate higher level, an H2.
If you have more H2 or H3 titles, they don’t need to contain the longtails (it may actually be counterproductive). As you’ve seen, using these tags properly is not particularly complex. However, you must also know how NOT to use them. Here are some of the most typical mistakes concerning H tags.