This is Tutorial 3 of 12 in the SEO Basics for Beginners series. In Tutorial 2, you learned how search engines crawl, index, and rank pages. In this tutorial, you will learn the three main types of SEO and what each one does for your website.
Many beginners think SEO is one single task, like adding keywords to a page. In reality, SEO has different parts, and each part solves a different problem. Once you know the types of SEO, you will always know where to look when a page is not ranking.
The Three Main Types of SEO
Almost every SEO task fits into one of three groups. These are On-Page SEO, Off-Page SEO, and Technical SEO. Think of your website like a shop. On-Page SEO is the inside of the shop, Off-Page SEO is your reputation in the market, and Technical SEO is the building, wiring, and doors.
| Type | Where It Happens | Simple Example |
|---|---|---|
| On-Page SEO | Inside your pages | Writing a clear title and helpful content |
| Off-Page SEO | Outside your website | Getting links from other trusted websites |
| Technical SEO | Behind the scenes | Making your site fast and easy for bots to crawl |
Type 1: On-Page SEO
On-Page SEO means everything you can change directly on your own page. This includes your title, meta description, headings, content, images, and internal links. It is the first of the types of SEO that every beginner should learn, because you have full control over it.
Here is a small example of good On-Page SEO in HTML. Notice the clear title, one main heading, and an image with alt text that describes the picture.
<title>Fresh Mangoes in Karachi | Same-Day Delivery</title>
<meta name="description" content="Order fresh mangoes in Karachi with same-day delivery.">
<h1>Fresh Mangoes in Karachi</h1>
<img src="sindhri-mango.webp" alt="Ripe Sindhri mangoes in a wooden basket">
You will study these elements one by one in Tutorial 7. For now, just remember that On-Page SEO is about your page being clear, useful, and easy to understand for both people and search engines.
Type 2: Off-Page SEO
Off-Page SEO means actions that happen outside your website but still help your rankings. The most important one is a backlink. A backlink is a link from another website to yours. Search engines treat a good backlink like a vote of trust, because someone else thinks your page is worth sharing.
This is how a backlink looks in HTML. If a popular food blog writes this on its own website, your mango shop gets a backlink.
<a href="https://yourmangoshop.com/">Best place to buy fresh mangoes in Karachi</a>
Off-Page SEO also includes brand mentions, social sharing, and positive reviews. Among all the types of SEO, this one takes the most time, because you cannot control other websites. You earn trust slowly by creating content that people want to share. We will cover this in Tutorial 9.
Type 3: Technical SEO
Technical SEO means making sure search engines can easily crawl and index your site. It focuses on the setup of your website, not the words on your page. Good Technical SEO includes a fast loading speed, a mobile-friendly design, HTTPS security, a sitemap, and a clean robots.txt file.
The code below shows three small Technical SEO elements that you can add inside the head section of a page.
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="https://yourmangoshop.com/mangoes/">
<link rel="sitemap" type="application/xml" href="/sitemap.xml">
The viewport tag makes your page work well on phones. The canonical tag tells Google which URL is the main version of a page. The sitemap link points bots to a list of all your important pages. You will learn Technical SEO fully in Tutorial 8.
Which Type of SEO Should You Start With?
All three types of SEO work together, but a beginner should follow a simple order. First, make sure your site has no technical problems, so bots can crawl it. Second, improve your On-Page SEO by writing helpful content. Third, build Off-Page SEO slowly with backlinks and shares.
- Technical SEO is the foundation, so fix it first
- On-Page SEO is where most beginners see quick improvements
- Off-Page SEO is a long-term job that grows with good content
- A weak area in any one type can hold back the other two
Other Types You Will Hear About
As you continue learning, you will hear a few more names. Local SEO helps a business appear in searches like “mobile shop near me”. Mobile SEO focuses on phone users. You already met AEO and GEO in Tutorial 1, and they have their own tutorials later. All of these are built on the three main types of SEO you just learned.
There is also one more way to classify SEO: by the methods used, which are White Hat, Grey Hat, and Black Hat techniques. These describe how safe and honest your SEO work is. We will explain them in the next tutorial. For an official overview, read Google’s Search Essentials, which lists the basic rules every website should follow.
Practice Exercise
Complete the following tasks to practice what you learned in this tutorial:
- Write the names of the three main types of SEO from memory
- Explain each type in one simple sentence using the shop example
- Open any website, right-click, choose View Page Source, and find its title tag
- In the same page source, search for the word “canonical” and note what URL it shows
- Search for your own website name on Google and see which other websites mention it
- Write down one On-Page, one Off-Page, and one Technical SEO task for your own website
- Check if your website opens correctly on your phone, and note one thing you would improve
Bonus Challenge: Take any simple web page you have built in HTML and add a title, meta description, one h1 heading, an image with alt text, and a viewport meta tag. Then write which type of SEO each of those five elements belongs to.
In the next tutorial, we will learn about White Hat, Grey Hat, and Black Hat SEO, and why choosing the right methods protects your website from Google penalties. Visit our SEO category page to see all tutorials in this series.

