1

Having an h1 with "real" text in it is just as good for SEO as having that h1 with an image background and the same text, but set to be indented to -9999px and ltr?

1
  • Why did you move it here? I was a stackoverflow text-book question.
    – Francisc
    Commented Apr 29, 2011 at 9:55

1 Answer 1

4

For the most part, the search engines only look at text. Some of them do look at the CSS to see if the text is visible (either by display: none or background color ~ foreground color) so it is possible they will notice the -9999px and mark you down, but since it's a common technique it's unlikely.

In both approaches your code will look the same: <h1>My SEo Website</h1> The only difference should be your CSS. You must still use text for accessibility reasons.

1
  • Yup, the markup will look exactly the same. And yes setting negative indentation is common, I do hope search engines look to see if negative indenting goes with background image and thus doesn't penalize the page. Thank you.
    – Francisc
    Commented Apr 29, 2011 at 8:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.