On-page SEO involves optimizing individual web pages to improve their relevance and ranking in search engine results, focusing on factors like content quality, keyword usage, and meta tags. Off-page SEO, on the other hand, refers to activities conducted outside the website to enhance its authority and credibility, such as link building and social media engagement.