Report this

What is the reason for this report?

What is the difference between H1, H2 Tag and Alt Tag in SEO?

Posted on December 14, 2016

H1 & H2 are called as header tags. H1 indicates the text with highest priority & H2 being second highest priority. Alt tags are used to give naming to images. This tag is used because search engine crawlers are unable ti identify images & hence proper name is given to them in the form of text.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

H1 is a heading tag - Page must have one heading tag for SEO h2 is a sub heading tag - You can use sub heading in your page for making it good for SEO Alt Tag is Image tag - You can tag images with proper image name top get help in SEO

In HTML, There are totally Six heading elements (such as <H1> to <H6>) available to use in the structuring and optimizing the content for Search Engines crawlers as well as readers. <H1> is a primary element and it is used to identify the title of the content. <h2> will be used for sub-heading. Whereas, Alt tag is used in the <Img> tag, which represents Anchor text of the particular image.

There is huge difference between H1, H2 $ Alt tags in SEO. H1 and H2 is a Header Tag. H1 used as a heading tag, and you can use only one heading tag in one webpage and it indicates the text with higher priority. and the second H2 tag is used as a Subheading tag.you can use this more than one time on your webpage. H2 is being second-highest priority.Alt tags are used in the <Img> tag, which is used to give the name to the image, which represents Anchor text of the particular image. It helps search engines to understand what the image is about, it can also help at the times of low internet connection where your image is not downloaded but image text is visible.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.