On page optimization includes
Meta tags, content, responsive web design, sitemap, internal links, submission to webmaster tools, robot.txt, information update etc. while off page optimization belongs to creating good back links, blogs, comments, articles, press releases, online listing, bookmarking, and social networking etc.