On-page optimization (website optimization) can be divided into two branches; factors that depend to the structure of website and factors that depend to content you write.
Website Structure Factors:
o Domain: Before you pick a domain name you should know your target audience, and what you intend to sell to them. Try to use major keywords in your domain. Using a .com version of a URL is better than other versions.
o Contact page: Design a contact page and put your E-mail and mail address with phone number.
o FAQ: design a Frequently Asked Question Page. I think each website needs a FAQ page, but it depends on you.
o About Us: It is necessary everyone visits your website knows who are you, so design an About Us page.
o Robots.txt file: With robots.txt file you can limit access of search engines to your website.
o Site map page: Whit site map visitor and search engine can browse your pages easily.
o 404 error page: Create a 404 error page.
Content Optimization Factors: (optimization factors for every page)
o Page Title: use your keywords on page title.
o Use header tags: put your topic in header tag.
o Keywords Meta Tags
o Description Meta tag Keywords
o Add image tags: use Alternative Image Text.
o Use header tags for sub heading.
o Keyword Density: The percentage of times a keyword appears on your page, compared to the total number of words on the page.