Clean HTML codes for better indexing?

Discussion in 'HTML & Website Design' started by soultrader, Oct 8, 2006.

  1. #1
    I would like to know if clean HTML codes provide for better indexing? Also where can I check this?


    I am new to coding and do not know how to clean my HTML codes on my own. Is there any service that provides this? Thank you
     
    soultrader, Oct 8, 2006 IP
  2. mastermemei

    mastermemei Banned

    Messages:
    262
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think so. I've read that you should transfer Scripts and CSS codes into an external file because it can make a page bigger. This is beneficial to spiders since they do not read and spiders crawl only a limited size of data from the pages.
     
    mastermemei, Oct 10, 2006 IP
  3. skyblue webteam

    skyblue webteam Peon

    Messages:
    193
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    1. Validate every page with this tool _http://validator.w3.org_
    2. Use divs, not tables.
    3. Use SSI, not iframes.

    etc...
     
    skyblue webteam, Oct 10, 2006 IP
  4. mstwntd

    mstwntd Peon

    Messages:
    72
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    <div>s do not automatically give you cleaner mark-up. Nor should they be looked at as a replacement for <table>s. <table>s are for tabular data. A <div> is a generic block-level container.

    This:
    
    <div id="container">
      <div id="title">Page Heading</div>
      <div>Content</div>
    </div>
    
    Code (markup):
    is no better than:

    
    <table id="container">
      <tr>
        <td id="title">Page Heading</td>
      </tr>
      <tr>
        <td>Content</td>
      </tr>
    </table>
    
    Code (markup):
    Use semantic mark-up. Separate presentation from content through CSS.

    Frames offer functionality that is simply not possible to achieve with Server Side Includes.
     
    mstwntd, Oct 10, 2006 IP
  5. soultrader

    soultrader Peon

    Messages:
    457
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thank you guys. I will look into this.
     
    soultrader, Oct 10, 2006 IP
  6. disgust

    disgust Guest

    Messages:
    2,417
    Likes Received:
    133
    Best Answers:
    0
    Trophy Points:
    0
    #6
    for the most part, I don't think it matters much for SEO.

    it has tons of other advantages-- ease of changing the layout without modifying the content, among other things-- but SEO isn't really at the top of the list.

    I've got some horribly coded, old sites that get tons of traffic from google.
     
    disgust, Oct 10, 2006 IP
  7. wiggly123

    wiggly123 Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks -- Interesting website
     
    wiggly123, Oct 12, 2006 IP