On-page SEO is the practice of optimizing web pages which helps to rank higher and earn more relevant traffic in search engines which refers to content and HTML source code of a page. Off-Page SEO refers to all the activities which you do away from your website to raise the ranking of a page.