On-page SEO

On-page SEO is optimizing the content and HTML of individual pages, such as titles, headings, text, images and internal links, so search engines understand them and users find what they came for.

On-page SEO covers everything you can change on a page itself to help it rank: the content, how it is structured, and the HTML elements search engines read. It sits next to technical SEO (how the site as a whole is crawled and indexed) and off-page SEO (signals from other websites).

The main elements

  • Content that matches intent: the page should answer what the searcher actually wants, in the format they expect, whether that is a guide, a product page, a comparison or a tool.
  • Title tag: a clear, specific title that includes the main topic and gives people a reason to click.
  • Meta description: a short summary that can appear in search results. It does not affect rankings directly but can improve click-through rate.
  • Headings: one H1 that states the topic, with H2 and H3 headings that break the content into logical sections.
  • URL: short, readable and descriptive.
  • Images: descriptive file names, alt text, and compressed file sizes.
  • Internal links: links to and from related pages with descriptive anchor text.
  • Structured data: markup that describes the content, where a relevant type exists.
  • Author and date information: who wrote or reviewed it and when it was last updated.

Writing for people and machines at once

Good on-page SEO is mostly good editing. Use the words your audience uses, answer the main question early, add depth further down and remove anything that does not help. Cover the related subtopics and entities a reader would expect, instead of repeating one keyword. This also makes pages easier for AI answers to quote: a clear question in a heading followed by a direct answer is easy to extract and cite.

A simple on-page checklist

  1. Is the primary topic and intent clear from the title, H1 and first paragraph?
  2. Does the page answer the question better or more completely than the current top results?
  3. Is there first-hand experience, original data or examples?
  4. Can readers scan it easily with headings, short paragraphs and lists?
  5. Does it link to related pages, and do relevant pages link to it?
  6. Do images have alt text and load quickly?
  7. Is the information current?

Common mistakes

  • Keyword stuffing in titles, headings and text.
  • Several pages with nearly the same title and topic, causing keyword cannibalization.
  • Missing or duplicate title tags and H1s across many pages.
  • Pages that rely only on a large block of text with no structure.
  • Optimizing a page that nobody links to internally, so search engines see it as unimportant.

On-page work is fully in your control, which makes it the logical first step. Once pages are strong, off-page signals such as links from relevant publishers help them reach their full potential.

Questions about On-page SEO

What is the difference between on-page and off-page SEO?

On-page SEO is about the content and code of your own pages. Off-page SEO is about signals from outside your site, such as backlinks and brand mentions.

What are the most important on-page SEO factors?

Content that matches search intent, a clear title tag and H1, a logical heading structure, internal links and up-to-date, trustworthy information.

Does on-page SEO still matter for AI search?

Yes. Clear structure and direct answers make it easier for AI Overviews and chat assistants to understand and quote your page.

Related terms