A complete guide to search engine optimization would be book-length, and would be out of date as soon as it was published, but here are several tips for building a website with search engine optimization in mind:
Every page on your site must have a unique HTML title tag, Meta keywords tag, and Meta description tag.
Follow W3C recommendations for HTML document structure. Begin the body copy of your page with your keyword phrase, and repeat it as needed as the theme of the page throughout your copy. Feature your keyword phrase prominently by including it in headers and making it bold or italics.
Use text navigation on your site, and use the keyword phrases you have selected as the links. If you cannot use text navigation, include footer on every page using text links.
Build a text site map, and link to it from every page of your site.
Organize your navigation according to the importance of your keyword phrases. If you break your site into many pages, link to the most important pages from every page of your site, and link to the other pages from section header pages and the site map.
Establish your site by submitting to the major directories, The Open Directory and the Yahoo! Directory then build your link popularity by submitting to web directories, search engines, and requesting links from related websites.
Be patient. A search engine optimization project can take quite some time to work.