• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 56
  • Last Modified:

SEO question on H1 Tag using Image

Hi all - I have a web page that was not designed by us.  I am adding some basic SEO.
I notice in the H1 tag something I haven't seen before ... an image and no text. The code looks like this:

       <h1>
       <a href="index.html"><img src="example.com/logo.png" alt="Example Inc" /></a>
      </h1>

Before I take the image outside of the H1 Tag and change the H1 to contain Text only, is there a good reason why someone would write the H! this way?
0
bleggee
Asked:
bleggee
2 Solutions
 
Dr. KlahnPrincipal Software EngineerCommented:
The only reasons I can possibly think of for doing this, and they would be a very poor reasons, would be if the image was very small and the original author wanted (a) the hyperlinked image to occupy at least the vertical space used by a H1 line, or (b) prevent anything else from appearing in the same vertical space due to the exclusionary nature of Hn lines.

I think if you pull the Header Level tags out from around the hyperlink you'll find it acts just the same.
0
 
Bryr de GraySEO TechnicianCommented:
Maybe there was a text that was deleted in between the h1 tags. I don't think H1 is useful for images anyway.
0
 
Lavi GuptaCommented:
H1 tag is the main heading tag of the page and should not be used more than one time in a page. I don't think so, that H1 tag gives any weightage to Alt tags..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now