CSS class associated to H1

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
hi all,

Will search engines penalize you if you use classes associated to h1-h6
heading tags ?

Of course, I will use only one h1 and a couple of h2,h3 per page but
since the site has several sections, I would like to use different
colors for their headings.

So I would like to redefine the h1-h6 tags in CSS in order to set font
family, size etc. and then specify colors in a class so to change the
color of the heading in the page.

I know I could set headings tags in different style sheets but I would
be more comfortable to keep all in the same .



Re: CSS class associated to H1

Quoted text here. Click to load it

As far as I know, and can tell, no.


Re: CSS class associated to H1

johnny wrote:

Quoted text here. Click to load it

As always, think before you guesstimate se behaviour. Why would a search
engine penalize you for using a class with a h1? You can always style a h1,
without giving it a class.

Quoted text here. Click to load it

That's normal use, so why should a se penalize? Look at your page as a
visitor. Does it do stupid tricks to mislead a visitor? No, than a SE can't
penalize you (they often can't if you do either :-D ).

John -> http://johnbokma.com/      MexIT: http://johnbokma.com/mexit/
                        Perl & Google/WWW: http://johnbokma.com/perl/
Experienced programmer and SEO available: PR7 http://castleamber.com/
            Happy Customers: http://castleamber.com/testimonials.html

Site Timeline