By Alan K'necht

Optimizing your site and content for a search engine, for a better ranking in SERPs, is known as Search Engine Optimization (SEO), yet many Web developers/designers either don’t take time to code a site properly or don’t know how to do proper SEO. The basics of code optimization are just sound HTML coding practices; when followed, they go a long way toward SEO.

There is a lot you can do to optimize your Web site for search engines from the code level. Where you can also affect things, and this is beyond the work of the developer/designer, is in the actual content. Understanding how to tag the content, and where to place it in the HTML, is critical. Here is a basic outline of SEO best practices.

Understand the Search Engines and Search Engine Spiders

A search engine obtains your URL either by you submitting your site directly to the search engine or by others linking to your site.

the spider starts reading all the text in the body of the page, including markup elements, all links to other pages and to external sites, plus elements from the page head including some meta tags (depending on the search engine) and the title tag.

The spider then follows the links on the page, repeating the same process. Spiders are, for lack of a better term, dumb. They can only follow the most basic HTML code. If you’ve encased a link in a fancy JavaScript that the spider won’t understand, the spider will simply ignore both the JavaScript and the link. The same thing applies to forms; spiders can’t fill out forms and click “submit.”