Two ways are necessary for optimizing websites which are clearly known by everyone who has touch with the SEO techniques and these are on page and off page. But some time it gets missed to make focus on the technique on page SEO and make more and more efforts for off page SEO. Websites that do not include instances of their targeted keyword phrases will often times be outranked by their competition. Sometimes we misunderstand the term On Page SEO it is defined in many ways and referred as changes in the pages of the website to make the website search engine friendlyas much as possible and increase the chances of getting better results in search engines. It is also a good practice to make a website with content with a large number of keywords but also true that it is critical to make a competitive ranking on search engines. Google is the best example among the search engines these days which has unique criteria to rank the websites and mainly focuses on the quality content without duplicity.
Some of the On page SEO Tricks are given here which is considered to be the basics of the SEO of type On page: