Join Peter Kent for an in-depth discussion in this video Clearing source code clutter, part of Analyzing Your Website to Improve SEO.
People who've been in the SEO business a long time tend to prefer clean, uncluttered source code. The idea is that you make it as easy as possible for the search engines to get to the important keyworded, indexable content by reducing unnecessary code in your pages. To be honest, I'm not sure how much it matters these days-- probably less than it used to a few years ago. But nonetheless, uncluttering your code is not a bad thing to do, and in any case, there are other benefits, such as reducing the time it takes your pages to load in a browser.
Remove the code and now that only loads once, instead of every time a page loads. How about image maps? If you have complicated images, the image map code can take up a lot of room. Unfortunately though, few browsers support external image maps, so you can't save it in a separate file. You can, however, move the map tag that contains all the coordinate information to the bottom of the web page, moving it after all your page content. Cleaning up the clutter may help search engines index your pages more efficiently, and speeds up your site, so spend a few minutes cleaning your code.
This course was updated on 10/12/2012.
- Understanding why indexing is important
- Using the Google AdWords Keyword Tool
- Dealing with frames, iframes, and popups
- Working with SEO-friendly URLs
- Using meta tags
- Clearing source code clutter
- Building links within the site
- Working with Google+
- Reviewing page content
- Building and submitting an HTML and XML sitemap
- Garnering links outside the site