[thelist] <h1> + images + search engines penalties

Christian Heilmann codepo8 at gmail.com
Wed May 24 09:51:35 CDT 2006


> > I think you can solve your problem by simply moving any image into the
> > background property of the H1 is question. For example if you wanted
> > the company logo in the H1 on the homepage, just give the body a class
> > of "home" on that page, and use the descendent selector to do
> > something like this
>
> I've seen people do this -- out of curiosity, what is the benefit to making
> the image a background of a class/tag rather than just placing it on the
> page? If it's an element that is to be seen, and it carries alt text, why
> wouldn't you want it on the page itself?

The idea is to keep maintenance in the CSS file itself. The mistake a
lot of implementations make - as you rightfully pointed out - is that
some images are both content and design, and then they shouldn't be
background images but should get proper alternative text.

> Does naming the class 'home' carry weight with search engines or non-visual
> browsers? Wouldn't it just completely disappear if images are not shown?

No and Yes respectively.



More information about the thelist mailing list