Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Dec 2006
    Posts
    185
    Thanks
    17
    Thanked 0 Times in 0 Posts

    Using CSS with heading tags still favorable from Search Engines

    Hi

    I was wondering if having h1 tags with style elements like font size, font weight etc to modify the appearance of the content in the tag was just as effective in the search engines as if i had no style elements.

    for example:

    <h1 style="font-size:12px;">Info</h1>

    just as effective and important to SEO as

    <h1>Info</h1>


    Thanks

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,676
    Thanks
    6
    Thanked 1,008 Times in 981 Posts
    Search engines don’t care about the style. They read the text, and that’s it.

  • #3
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    <h1> is preferred because then you put the styles into an external CSS file. This also helps because search engines aren't likely to actually parse your entire page if it is long, so if you get rid of unnecessary code like style="blah", you'll get more content in the search engine.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •