On-page optimization techniques are the ones that focus on improving the elements that contribute to enhance the user and search engine experience on-page. These factors describe the search engine what the website is about and how rich is it's content.
Off-page optimization on the other hand, are the measures that contribute in generating backlinks for the website, to improve its ranking on the search engine result page.