White Hat SEO is the technique adopted by many developers. A website that used white hat SEO to promote itself is optimized for search engines while keeping the content untouched. Most known examples of White Hat SEO refer to keywords implementation, analysis, backlinking, link popularity, traffic analysis, etc. This is also called Ethical SEO.
You can use Google to find more about the techniques used.