What Is The Difference Between H1, H2 Tag And Alt Tag In SEO?

  • Blog
  • Docs
  • Get Support
  • Contact Sales
  • Tutorials
  • Questions
  • Product Docs
  • Cloud Chats
  • Search Community

Report this

What is the reason for this report?This undefined is spamThis undefined is offensiveThis undefined is off-topicThis undefined is otherSubmit<- Back to questionsQuestionWhat is the difference between H1, H2 Tag and Alt Tag in SEO?Posted on December 14, 2016FreeBSDServer OptimizationApplicationsJohn Augustine

By John Augustine

Popular topics

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.

Submit answer (3)Add a comment (1)

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!

Sign In or Sign Up to AnswerThese 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.0Mike  JobesMike JobesAugust 3, 2017Show less

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

Reply0Jane SmithJane SmithNovember 22, 2017Show less

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.

Reply0Paradise Techsoft SolutionParadise Techsoft SolutionOctober 3, 2019Show less

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.

ReplyLoad more answers

Popular Topics

  1. AI/ML
  2. Ubuntu
  3. Linux Basics
  4. JavaScript
  5. Python
  6. MySQL
  7. Docker
  8. Kubernetes
  9. All tutorials
  10. Talk to an expert
  • All tutorials
  • All topic tags

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Sign Up

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Learn more

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Learn more

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

SubmitSubmit

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

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

View all products

Get started for free

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

Get started

*This promotional offer applies to new accounts only.

© 2025 DigitalOcean, LLC.Sitemap.

Từ khóa » H2 Vs H1 Html