On-Page SEO: Optimizing What's on the Page

On-page SEO covers the content, headlines, and HTML on a page. Learn the elements that tell search engines what your page is about.

Quick Definition

On-page SEO is optimizing the content and code on a page, so search engines understand its topic and rank it for the right queries.

What On-Page SEO Includes

Everything on the page that helps a search engine understand it, the title tag, headings, body copy, images, and the internal links inside it.

It is the work you control directly. No outreach, no waiting on other sites, just the page in front of you.

On-Page Versus Off-Page

On-page SEO is what you change on the page itself. Off-page SEO is the authority built outside it, mainly through backlinks.

The two work together. On-page tells search engines what the page covers, and off-page tells them how much to trust it.

The Core Elements

  • A title tag and meta description that match the query.
  • One clear topic, with headings that structure the answer.
  • Descriptive internal links with clear anchor text.
  • Images with alt text and fast, mobile-friendly loading.

Writing for Readers First

On-page SEO is not a checklist of keywords. It is making the page so clearly about its topic that the right signals fall into place.

Write the best answer on the page, then make sure the title, headings, and links all point to the same subject.

Example in Practice

The page: a guide to fixing a running toilet gets a new title that names the problem, a meta description that promises steps, and headings for each fix.

The body: the steps are ordered, the photos have alt text, and related plumbing guides are linked inline.

The result: the page ranks for the repair queries it targets and starts appearing for nearby variations.

Why it works: every signal on the page points to one topic, so search engines and readers agree on what it is about.

💡

Quick Tip

Give every page one job. If a title can be written about two things, the page probably needs to become two pages.

Frequently Asked Questions

On-page SEO is optimizing the content and code on a page, so search engines understand its topic and rank it for the right queries.
The title, headings, body copy, and internal links that all point to one clear topic are the core of on-page optimization.
On-page SEO changes the page itself. Off-page SEO builds trust outside it, mainly through backlinks from other sites.
No fixed ratio matters. Write naturally about the topic, and the keyword will appear enough times on its own.

On-Page SEO, Bottom Line

On-page SEO is the part of the work you fully control, making each page clearly about one thing.

Nail the title, the headings, and the links, and the rest of the page follows the same story.