There are two major types of SEO
On-Page SEO
Off-Page SEO
On-page SEO is the practice of optimizing individual web pages in order to rank higher and earn more relevant traffic in search engines.
On-page refers to both the content and HTML source code of a page that can be optimized, as opposed to off-page SEO which refers to links and other external signals.