css and header tags

Discussion in 'Google' started by 2ct7, Oct 12, 2007.

  1. #1
    Does Google care when index your page if you use css inside of your header? I mean does this negatively effect the keywords in the header tag?

    an example would be something like:

    <h1 class="styleHeading1">my keywords</h1>
     
    2ct7, Oct 12, 2007 IP
  2. enquiries0009

    enquiries0009 Banned

    Messages:
    1,422
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Google does not care about that issue when indexing your page. No problem you can carry on like that way only.
     
    enquiries0009, Oct 12, 2007 IP
  3. corlock

    corlock Banned

    Messages:
    538
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    just a suggestion:
    it is more advisable to keep those CSS codes externally for the reason it looks neat
     
    corlock, Oct 12, 2007 IP
  4. jgjg

    jgjg Peon

    Messages:
    595
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Good question was wondering myself the other day.

    If you use an external and set the H1 tag to your font/color you don't even need to add a class= tag to your H1 tag so not sure how visible it even really is to spiders.
     
    jgjg, Oct 15, 2007 IP
  5. Alexander the Great

    Alexander the Great Peon

    Messages:
    253
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you're doing it to scam them, they'll care. Otherwise, they'll just treat it like any other 1 tag.
     
    Alexander the Great, Oct 15, 2007 IP
  6. mubheer

    mubheer Active Member

    Messages:
    340
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #6
    no it wont be a problem at all. but better to keep a seperate css sheet. because it will reduce the code weight and your code will look clean and neat too!.
     
    mubheer, Oct 16, 2007 IP
  7. rsuog

    rsuog Peon

    Messages:
    1,045
    Likes Received:
    97
    Best Answers:
    0
    Trophy Points:
    0
    #7
    seems fine with me. i am doing this on my site and have no problem with that

    "<h1 class="headertitle">Top 10 Web Hosting - Best Web Hosts (2007) </h1>"
     
    rsuog, Oct 16, 2007 IP