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
    Apr 29 '11 at 9:55
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
    Apr 29 '11 at 8:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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