CSS or Font tag or H1 - google ranking

4 replies
Hi,
I am using CSS for font size. I want to know whether html H1 or font tag will be better for google ranking than css? If yes then which one should I prefer?
#css #font #google #ranking #tag
  • Profile picture of the author webapex
    Some question whether font size and style has significant effect on ranking. I hsve seen H1 and css used in the content of a trick, in which you use H1 (or H2 etc) tags for the ranking benefit, but set the font sizes for headers in your css file to make them smaller, so H1 may be used more liberally throughout a post.
    Signature

    “An expert is a person who has made all the mistakes that can be made in a very narrow field” Niels Bohr

    {{ DiscussionBoard.errors[3044085].message }}
  • Profile picture of the author CyberSorcerer
    You can use HTML tags anyway you like. But if your thinking of making your H1 tags the same size and color as your page fonts, using CSS, Google will consider that as a violation and punish you, eventually.

    It's the same way they will punish for using font position: -9999 for ranking purposes. If you're strictly using it for design purposes then that's normally ok. And yes Google does check CSS rules and how you're using certain ones that deal with page layout.
    {{ DiscussionBoard.errors[3044087].message }}
  • Profile picture of the author Dennis Gaskill
    The font tag is deprecated. It's best not to use it at all. Heading tags carry more weight than using CSS to increase the font size.
    Signature

    Just when you think you've got it all figured out, someone changes the rules.

    {{ DiscussionBoard.errors[3044123].message }}
  • Profile picture of the author pennynickels
    From what I've read over the years, I concur that the H1 tag gets higher consideration and is preferred over the font tag. Just don't try to fool Google by changing its size using the style attribute.
    {{ DiscussionBoard.errors[3044153].message }}

Trending Topics