If you run a blog, everything you write an article or a blog post and include keywords, you are improving your blog’s on-page SEO – the keywords help to show the search engines what your content is about, which will then boost your position in the rankings. Page content is one of the best ways of getting your website ranked, but it takes time and still requires putting effort into high quality articles.
URLs are another aspect of on-page SEO. Not everyone knows this, but the URLs of a website can be modified to include a keyword, which further optimizes a site’s on-page SEO.
Image descriptions can also be changed so that they include keywords. Images also have things called alt-text, which is not visible to your average user. This can also be modified to include keywords that search engines will pick up on.
Not all on-page SEO related to keywords. Even doing things like changing a site to make it mobile friendly or to make it load faster fall under the banner of on-page SEO. The reason for this is that Google rewards sites that do these things.
Off-page SEO encompasses a variety of actions that can improve a site’s ranking without actually changing anything on the site itself. For example, sharing links to your site on social media will improve your site’s search engine ranking because those social media links are considered backlinks. But, because sharing links to your site on social media does not actually change anything on the site itself, it falls under the banner of off-page SEO. Anything involving backlinks will be classified as off-page SEO.