Learn SEO • Lesson 02

On-Page SEO: Optimise What Happens on the Page.

Learn how to optimise titles, meta descriptions, headings, content, images, links and page structure so search engines and users can better understand your content.

Title Tags Meta Description Heading Structure Content SEO Internal Links Image SEO
example.com/birthday-cake-delivery/
Start Here

What is On-Page SEO?

On-Page SEO is the process of improving elements within a webpage to make its topic, purpose and content easier for both users and search engines to understand.

For example, imagine a bakery has a page about birthday cake delivery in Kuala Lumpur. The page should clearly communicate that topic through its title, headings, content, images, links and overall structure.

On-Page SEO is not about placing the same keyword everywhere. It is about creating a useful page that satisfies the searcher's intent while making the page's subject clear.

Good On-Page SEO = Relevance + Quality + Structure + User Experience. The objective is to create the best possible page for the search intent — not simply to optimise for an algorithm.
The Fundamentals

What can you optimise on a webpage?

On-Page SEO involves multiple elements that work together to communicate the meaning and usefulness of a page.

01

Search Intent

Make sure the page actually answers what the searcher is trying to find.

02

Title Tag

Create a descriptive title that clearly communicates the main topic.

03

Meta Description

Write a useful search snippet that encourages relevant users to visit.

04

URL

Use a simple and descriptive URL structure where possible.

05

Headings

Organise the page using a logical H1, H2 and H3 structure.

06

Content

Provide useful, original and relevant information that satisfies search intent.

07

Images

Optimise filenames, alt text, file size and relevance.

08

Links

Connect useful internal pages and relevant external sources.

Title tag and meta description SEO example
Element 01

Title Tag & Meta Description

The title tag helps describe the main topic of a webpage and commonly appears as the clickable title in search results.

The meta description provides a short description of the page. It is not a direct ranking factor, but a clear and relevant description can help users understand what the page offers.

Make the title descriptive Users should understand the main subject before clicking.
Use the primary topic naturally Include the main keyword when it accurately describes the page.
Avoid keyword stuffing Repeating variations unnecessarily makes titles difficult to read.
Write for the searcher Meta descriptions should explain the benefit or purpose of the page.
examplebakery.com › birthday-cake-delivery
Birthday Cake Delivery in Kuala Lumpur | Example Bakery
Order freshly made birthday cakes with delivery across Kuala Lumpur. Choose from a range of flavours, sizes and custom designs.
Element 02

SEO-Friendly URL Structure

A URL should help users and search engines understand where a page sits and what it is about.

Simple, descriptive URLs are generally easier to read, share and maintain than long URLs containing unnecessary numbers or parameters.

Good URL example.com/birthday-cake-delivery/
Less Useful URL example.com/page?id=8372&category=12
Keep it descriptive Use words that accurately represent the content of the page.
Avoid changing URLs unnecessarily Existing URLs may already have links, rankings and search history.
Simple rule: A visitor should be able to look at the URL and have a reasonable idea of what the page contains.
example.com/
cakes/
birthday-cake-delivery/
H1 H2 H3 heading structure for SEO
Element 03

H1, H2 & H3 Heading Structure

Headings organise information into sections and make long pages easier to scan and understand.

The H1 normally represents the main topic of the page. H2 headings divide the page into major sections, while H3 headings can divide those sections into smaller topics.

H1 — Birthday Cake Delivery in Kuala Lumpur
H2 — Types of Birthday Cakes
H3 — Chocolate Birthday Cake
H3 — Custom Birthday Cake
H2 — Cake Sizes & Pricing
H2 — Frequently Asked Questions
Element 04

Content SEO: create content that deserves to rank.

Search engines do not need another page that simply repeats keywords. Your content should help the searcher complete the task that brought them to the page.

01

Match Search Intent

Understand whether users want to learn, compare, find a location, buy or complete another action.

02

Answer the Main Question

Do not hide the answer behind unnecessary introductions. Give users the information they came for.

03

Cover the Topic Properly

Include the useful subtopics a visitor reasonably needs to understand before making a decision.

04

Use Clear Language

Write for the intended audience instead of making content complicated purely to sound authoritative.

05

Add Original Value

Use genuine examples, expertise, images, data, experience or insights where appropriate.

06

Keep Content Useful

Update pages when important information becomes outdated or no longer serves the user.

Keyword Usage

Where should keywords appear?

Once you know the primary topic and related keywords, use them naturally where they help describe the content.

Useful Places

Page title when relevant
Main H1 heading
Relevant H2 and H3 headings
Introduction and body content
Descriptive image alt text when appropriate
URL when it naturally describes the page

Don't Force It

!
Do not repeat the exact keyword in every paragraph.
!
Do not create awkward sentences just to insert keywords.
!
Do not stuff dozens of location names into one page.
!
Do not optimise every heading for the same phrase.
!
Use related terminology naturally as part of the topic.
Element 05

Image SEO

Images can improve the usefulness and visual quality of a page, but they should also be descriptive, accessible and efficient.

File Name

Use a meaningful filename where practical instead of IMG_839281.jpg.

Alt Text

Describe the image's purpose or content when an alt description is appropriate.

File Size

Compress unnecessarily large images to reduce the amount of data visitors need to download.

Relevant Images

Use images that actually support the surrounding content instead of adding visuals purely for decoration.

<img src="chocolate-birthday-cake.webp" alt="Chocolate birthday cake with strawberry topping">
Content Quality

Show users why they should trust the content.

For topics where trust matters, demonstrate genuine experience, expertise and transparency instead of publishing anonymous, generic content with little supporting value.

01

Experience

Where useful, show genuine first-hand experience with the subject being discussed.

02

Expertise

Provide accurate and useful information appropriate to the subject and audience.

03

Authority

Build a strong reputation around the topic through quality content, recognition and references.

04

Trust

Make it clear who operates the website, how to contact them and where important information comes from.

Practical Workflow

How to do On-Page SEO step by step.

Use this workflow whenever you create a new page or optimise an existing one.

01

Choose the Page's Main Keyword

Identify the primary keyword and related keyword cluster that best represents the page.

02

Check Search Intent

Search the keyword and understand what users expect: an article, service page, product, category, comparison, local result or another page type.

03

Review Existing Search Results

Study the topics, formats and questions covered by useful pages already appearing for the search.

04

Create the Page Structure

Plan the H1, H2 and H3 sections before writing so the page follows a clear logical flow.

05

Write Useful Content

Answer the main search intent, cover relevant subtopics and provide useful information rather than writing to reach an arbitrary word count.

06

Optimise Title & Meta Description

Write a clear title and search description that accurately communicate what users will find on the page.

07

Optimise Images

Use appropriate file names, descriptive alt text where needed and compressed image files.

08

Add Internal Links

Connect the page to other useful pages on your website using descriptive and relevant anchor text.

09

Add Useful External Sources

Where appropriate, link to authoritative sources that help readers verify or better understand information.

10

Review the Page as a User

Check readability, layout, mobile usability, calls to action and whether the page genuinely satisfies the original search.

Example

Weak On-Page SEO vs better On-Page SEO.

✕ Weak Page

Title

Cake | Cake Shop | Best Cake | Buy Cake

H1

Welcome to Our Website

Content

Very little information about products, delivery, sizes, flavours or ordering.

Internal Links

No links to relevant cake categories or ordering pages.

Images

IMG_29382.jpg with no useful description.

✓ Better Page

Title

Birthday Cake Delivery in Kuala Lumpur | Example Bakery

H1

Birthday Cake Delivery in Kuala Lumpur

Content

Explains available cake types, sizes, flavours, customisation, delivery areas and ordering process.

Internal Links

Links naturally to custom cakes, delivery information and contact or ordering pages.

Images

Descriptive images with appropriate filenames, alt text and optimised file sizes.

Quick Checklist

Before publishing your page.

Run through this simple checklist before hitting publish.

Search intent matches the page
Primary topic is clearly defined
Title tag is descriptive
Meta description is written
URL is clear and appropriate
H1 describes the main topic
H2/H3 structure is logical
Content satisfies search intent
Keywords are used naturally
Images are optimised
Relevant internal links are added
Useful external references added when needed
Content is easy to scan and read
Page has a clear next action for users
Knowledge Check

On-Page SEO Quiz

Answer all five questions and check your score.

Question 01

What is the main purpose of On-Page SEO?

Question 02

Which heading normally represents the main topic of a page?

Question 03

Which is the better URL?

Question 04

Which is the best approach to using keywords in content?

Question 05

What is an internal link?

Next Lesson

Your page is optimised. Now look under the hood.

Next, learn Technical SEO — including crawling, indexing, sitemaps, robots.txt, canonical tags, Core Web Vitals, mobile usability and other technical foundations that help search engines access your website.