Question: how to do onpage seo?
Answer: Get in the game by optimizing for 'search intent' ... 
Make sure your page loads FAST. ... 
Strategically place your target keyword in the title, meta description, and H1 tags. ... 
Use short descriptive URLs. ... 
Use descriptive alt tags for images (and optimize your image file names)