On-Page SEO: It is a type of SEO in which optimization is done inside the website. For instance, keyword research, content writing, sitemap.xml, Google Analytics, Google Webmaster tool.
Off-Page SEO: It is a type of SEO in which optimization is done off the website. For instance, link building through press release submission, blogging, article submission, forum posts etc.