On-Page SEO focuses on optimizing the content and HTML source code of a page, while technical SEO refers to optimizing your website for the crawling and indexing phase, l improved website speed, guaranteed mobile compatibility, and more.