Ratio between of HTML,CSS and JS codes and useful information on the page

Discussion in 'Search Engine Optimization' started by serjio28, Mar 14, 2007.

  1. #1
    Hi All,

    I am doing first steps in SEO and I got a question about ratio of useful information and HTML,CSS and JS tags on the page. Anybody know how much it should be for get best results? e.g. useful information - 20% and HTML and CSS tags -80%

    Should I take care about this issue when I am making my pages?
     
    serjio28, Mar 14, 2007 IP
  2. gravis

    gravis Peon

    Messages:
    145
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    There is no official documentation for authoritative reference, but one basic fact I know of is that content should always out weight the html/css stuff. Don't include CSS in the HTML, instead attach it, make it external. Don't use lot of tables, instead use DIVs. Your focus, initially, should be more on content that this aspect.
     
    gravis, Mar 14, 2007 IP
  3. oseymour

    oseymour Well-Known Member

    Messages:
    3,960
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    135
    #3
    put your css and js in external files. that should solve all your problems
     
    oseymour, Mar 14, 2007 IP
  4. serjio28

    serjio28 Peon

    Messages:
    37
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    My pages really suffer from redundant CSS and JS code. Also I used a lot of style definitions for various tags rather then just using a new class link.

    Well, will clean out these things from pages of my website.
     
    serjio28, Mar 14, 2007 IP
  5. gravis

    gravis Peon

    Messages:
    145
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    yea, that will bring down the ratio of Js/Css vs HTML content in your site. As a best practice, you should make js/css external and avoid extra stuff in your pages ;)
     
    gravis, Mar 14, 2007 IP
  6. TheGrin

    TheGrin Peon

    Messages:
    202
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i think that just following w3c guidelines you should be ok and you will have a clean code to work with.
     
    TheGrin, Mar 14, 2007 IP
  7. poksa

    poksa Banned

    Messages:
    314
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #7
    For me Build your site crawlable...

    Like use CSS in external, and if you have a chance to build in full Table less it's much better. Because there's a lot of advantages of using table less.
     
    poksa, Mar 14, 2007 IP