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
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.
1. Validate every page with this tool _http://validator.w3.org_ 2. Use divs, not tables. 3. Use SSI, not iframes. etc...
<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.
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.