Onpage SEO refers to the practice of optimizing individual web pages in order to rank higher and earn more relevant traffic in search engines. This includes both content and HTML source code optimization.