It is extremely important to know what search engines don't want. Otherwise, your perfectly optimized site can be blacklisted or not indexed. Therefore, when you learn about factors that influence search engine rankings, you should also learn what to avoid. Search engines strive to provide the most relevant results to their users. Spam clutters the engines' index with irrelevant information.
Some webmasters create spam after they learn which criteria search engines use to rank pages.
If you can avoid using frames, do so. This will save you a lot of headache. You won't have to worry about search engines being unable to index your site. Recently, some engines started to index dynamic content. However, not all dynamic pages are indexed.