On-Page SEO
What is on-page SEO?
On-page SEO is the optimization of elements located directly on a web page to improve its search engine rankings. It covers both user-visible content and HTML code elements — meta tags, headings, URL structure, internal linking, and structured data. Unlike off-page SEO, you have full control over these elements.
On-page SEO is the foundation of effective positioning — without it, even the best link building will not deliver lasting results. Google must first understand what your page is about before it can rank it well.
Why does it matter?
- Visibility foundation — without clear on-page elements, Google has a harder time understanding the page's topic and matching it to the right queries
- Full control — this is the only area of SEO over which you have 100% control (unlike links or user behavior)
- Direct effect — on-page fixes take effect once Google recrawls the page; according to Google, some changes show up in a few hours, others take several months
- Impact on CTR — a clear title and description can help users decide to click in the SERP
- Support for GEO — Google says its AI Overviews and AI Mode rely on the same SEO fundamentals, with no special optimization required
Key elements of on-page SEO
Content
- Keywords — natural use of target phrases in content, headings, and meta tags
- Headings (H1-H6) — a logical hierarchy that reflects the structure of the content; Google says there is no ideal number of headings per page
- Content quality — unique, comprehensive, answering the search intent
- Content length — matched to intent; Google says length alone doesn't matter for ranking and there is no magical word count target
Meta tags
- Title tag — one of the sources Google uses for the title link in results; there is no character limit, but long titles are truncated to fit the device width
- Meta description — a summary Google may show below the title in SERP; no length limit, but snippets are truncated to fit the device width; affects CTR
- Meta robots — instructions for crawlers (index/noindex, follow/nofollow)
Structure and technical details
- URL — short, readable, using descriptive words
- Internal linking — connecting pages thematically, passing authority
- Image alt attributes — text descriptions for search engines and accessibility
- Schema.org — structured data helping Google understand content
- Canonical URL — preventing content duplication
Best practices
- A clear H1 that states the page topic — remaining headings in a logical H2-H3 hierarchy
- A title tag that clearly describes the page — concise and specific, without repeating the same keywords
- Unique meta description on every page — encouraging clicks, with a CTA
- Internal linking — every page you care about should be linked from at least one other page on your site
- Image optimization — compression, WebP/AVIF format, descriptive alt texts
- Short, descriptive URLs —
/services/seoinstead of/page?id=123&cat=services - Structured data — Article, BreadcrumbList, and other types that match the page can make it eligible for rich snippets (the FAQ rich result no longer appears in Google Search as of May 7, 2026, according to Google's documentation changelog)
A detailed step-by-step guide is available in the article on on-page SEO optimization.
Related terms
- Off-page SEO — off-site activities that build authority
- Meta tags — HTML tags controlling display in SERP
- SEO — the complete process of search engine optimization
- Schema.org — structured data for search engines
- E-E-A-T — expertise and credibility signals
- Core Web Vitals — page performance metrics