The head section may also contain program scripts used by Web browsers for formatting documents or exchanging information with the Web server. Javascript and style sheets are two examples of these kinds of special scripting commands. A document's body may contain a great deal of formatting, including headings, tables, links to images, links to other documents, font information, style indicators, and more. Search engines index the contents of the document body but usually ignore the document head . Most search engine optimization therefore concentrates on the body of the document since setting the title and meta tags requires little effort.
Some optimization also focuses on links and how they are titled.
Basic Web page design may affect search engine rankings in other ways. Navigational tools such as forms and frames may cause the search engines to overlook the contents of the forms or framed pages. And using graphics to present text to visitors guarantees the search engines will not index your keywords. Basic Web page design should first consider the needs and attention spans of potential visitors, and then the needs and weaknesses of search engines. The harder it is for the average person to understand what your page is about, the less likely a search engine will properly index its content for you.