…
Skip to content
Topics
On this page

On-Page SEO

On-page SEO is the work of improving the content and HTML of each page, such as its title, headings, text, images and links, so that search engines understand what the page is about and people find it useful. It is the part of SEO you fully control, and it is usually where a small business should start.

  • Scope: Everything on the page itself, from the title tag to the last internal link.
  • Target: One main keyword and its close variations for each page.
  • Readers: It serves the visitor first and the search engine second, and good pages do both.
  • Control: Unlike links from other sites, every change is in your hands.
  • AI answers: Clear headings and direct answers also make a page easier for AI answers to quote.
On-page SEO: the parts of one page and what each should doA wireframe of a Jaipur restaurant's Rajasthani thali page. Labels point to the title tag, which puts the keyword first and stays under 60 characters; a short readable URL; one H1 with the keyword; an introduction that answers the search in its first lines; a compressed image with alt text; H2 headings for each subtopic; and internal links with clear anchor text.Rajasthani Thali in Jaipur | Thali Gharthalighar.in/rajasthani-thali-jaipurRajasthani Thali in JaipurPhoto: thaliMenu and pricesSee our dal baati churmaTitle tag: keyword first, kept shortURL: short and readableH1: one per page, with the keywordIntro: answers the search earlyImage: compressed, with alt textH2s: one for each subtopicInternal links with clear anchor text
On-page SEO: the parts of one page and what each should do

This lesson follows one example: a family restaurant in Jaipur, called Thali Ghar here, that serves a Rajasthani thali and takes table bookings through its website and WhatsApp. Tourists and locals search "rajasthani thali in jaipur", but the restaurant's page was titled "Home", and its menu was a photo of the printed card.

Why On-Page SEO Matters

  • Relevance: The title, headings and first paragraph tell Google which searches a page should appear for. A page titled "Home" gives it nothing to work with.
  • Clicks: The title and meta description form the listing people see in results, so they decide whether a searcher chooses you or the next restaurant.
  • Experience: A clear layout with prices, timings and directions answers the visitor quickly, which is what Google's systems aim to reward.
  • Speed: Changes can be made in an afternoon and are usually picked up after Google recrawls the page, unlike link building, which takes months.
  • Foundation: Technical SEO and off-page SEO help most when each page is already clear about its topic.

Step-by-Step Framework

  1. Pick one target per page: From keyword research, give each page one main keyword. The thali page targets "rajasthani thali in jaipur"; a separate page targets "dal baati churma in jaipur".
  2. Match the intent: Search the keyword and look at what ranks, as explained in search intent. For the thali search, restaurant pages, map results and food guides appear, so the page must show the dishes, the price, the location and a way to book.
  3. Write the title tag: Put the keyword near the start, keep it to about 50 to 60 characters, and add the brand at the end: "Rajasthani Thali in Jaipur | Thali Ghar".
  4. Write the meta description: In 140 to 155 characters, say what the visitor gets and why to choose you: unlimited thali, the price range, the area, and table booking.
  5. Set a clean URL: Use short, readable words, such as /rajasthani-thali-jaipur, and do not change it later without a redirect.
  6. Use one H1 and clear H2s: The H1 repeats the main topic. H2s cover the natural subtopics: what is in the thali, prices and timings, how to reach us, and how to book.
  7. Answer early, then go deeper: The first two or three sentences should answer the search directly. Details, photos and questions follow.
  8. Add proof and detail: Type the menu as text with prices, show real photos of the food and the dining hall, and add the address, timings and phone number.
  9. Optimise images: Compress each photo, give it a descriptive file name, and write alt text that describes what it shows.
  10. Link inside the site: Link from the thali page to the dal baati page, the booking page and the location page with descriptive anchor text, the core idea of topic clusters.
  11. Add structured data: Mark up the restaurant's name, address, hours and menu with schema markup so search engines read the facts without guessing.

On-Page SEO Checklist

Copy this template for every important page.

ElementCheckThali page
Target keywordOne main keyword chosen from researchrajasthani thali in jaipur
Title tagKeyword near the start, about 50 to 60 characters, brand at the endRajasthani Thali in Jaipur, Thali Ghar
Meta description140 to 155 characters with a clear benefitUnlimited thali, price range, area, booking
URLShort, readable, lowercase, with hyphens/rajasthani-thali-jaipur
H1One per page, with the keywordRajasthani Thali in Jaipur
H2sOne for each subtopic, in a logical orderDishes, prices and timings, location, booking
OpeningAnswers the search in the first linesWhat the thali includes and costs
ContentOriginal, complete, with real detailsTyped menu with prices, real photos
ImagesCompressed, descriptive file names and alt textrajasthani-thali-dal-baati.webp
Internal linksLinks to and from related pages with clear anchor textDal baati page, booking page
Structured dataCorrect type, valid, matches the visible pageRestaurant with address and hours
MobileReadable on a phone, buttons easy to tapTap-to-call and WhatsApp buttons

Example: On-Page SEO for a Jaipur Thali Restaurant

  • Before: The page was titled "Home", the H1 said "Welcome", the menu was one photo, and the only text was a paragraph about the family's history.
  • Changes: The team set the title to "Rajasthani Thali in Jaipur | Thali Ghar" and rewrote the H1. They opened with two sentences on what the thali includes and the price range, and typed the full menu with prices under an H2.
  • Detail: They added real photos with alt text such as "Rajasthani thali with dal baati, gatte ki sabzi and bajre ki roti", the address with a map, the timings and a WhatsApp booking button.
  • Links: The home page now links to the thali page with the words "Rajasthani thali", and the thali page links to the dal baati page and the booking page.
  • Measurement: The team watches impressions and clicks for the target keyword in Google Search Console instead of guessing whether the changes worked. No ranking is promised, but the page now clearly answers the search.

Mistakes

  • Stuffing: Repeating "thali Jaipur" in every sentence reads badly and can hurt the page.
  • Duplicates: Copying the same text across the thali, lunch and dinner pages makes Google choose one and ignore the others.
  • Images: Putting prices, timings or the menu only inside images hides them from search engines and from many readers.
  • Multiple H1s: Styling every heading as an H1 blurs what the page is mainly about.
  • Vagueness: Anchor text like "click here" tells neither readers nor search engines what the linked page covers.
  • Cannibalisation: Two pages targeting the same keyword compete with each other, and often neither ranks well.

How AI Changes On-Page SEO

What AI Automates Now

AI assistants can draft title tags and meta descriptions in several versions, suggest H2 outlines from real customer questions, write alt text from a photo, and find missing internal links across a site. Many SEO plugins and content tools now build these AI features in. AI answers in search also reward pages that state facts clearly near the top, which the SEO vs GEO vs AEO lesson compares.

What Still Needs a Human

Only the restaurant knows the real price, what is in the thali this season, whether it is vegetarian, and what makes the family recipe different. Those details, plus real photos, are what make a page worth ranking, and AI cannot supply them honestly.

Risk to Watch

AI drafts tend to sound alike and to fill space with general claims such as "the best thali in the city". Pages built from such text add little value. AI tools can also invent details, like a dish the kitchen does not serve or a price that changed, so every fact on the page must be checked.

Do It with AI

Use this prompt to get a first draft of the on-page elements for one page. It works in ChatGPT, Claude or Gemini.

Prompt for ChatGPT, Claude or Gemini

You are an on-page SEO editor for a small business in India. Page: [what the page is about] Target keyword: [one main keyword] Business facts: [prices, timings, address, what is included, anything unique] Real customer questions: [paste 5 to 10] Other pages on the site I can link to: [list them with their URLs] 1. Write three title tags of 50 to 60 characters with the keyword near the start and the brand at the end. 2. Write two meta descriptions of 140 to 155 characters with a clear benefit. 3. Suggest a URL slug, one H1 and an H2 outline that answers the customer questions. 4. Write a two-sentence opening that answers the search directly. 5. Suggest internal links with descriptive anchor text, using only the pages I listed. Use only the facts I gave you. Do not invent prices, dishes, awards or reviews.

  1. Fill the prompt with the page's keyword, real business facts and customer questions.
  2. Pick the best title and description, and edit them in the business's own voice.
  3. Rewrite the page using the outline, adding real photos, the typed menu and prices.
  4. Go through the checklist above line by line before publishing.

Check Before You Use It

  • Facts: Every price, timing and dish must match what the restaurant serves today.
  • Brand fit: Read the draft aloud; if it does not sound like the family that runs the restaurant, rewrite it.
  • Compliance: Avoid unprovable claims such as "best in Jaipur", and never add reviews or ratings that customers did not give.

Quick Quiz

Pick an answer to check yourself. Nothing is saved.

Question 1 / 3

  1. 1. The Jaipur restaurant's thali page title is 'Home | Welcome'. What is the best fix?

Frequently Asked Questions

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

On-page SEO covers everything you change on the page itself: content, titles, headings, images and internal links. Off-page SEO covers signals from outside your site, mainly links and mentions from other websites.

How long should a title tag be?

Aim for roughly 50 to 60 characters so it is less likely to be cut off in results. Google measures by display width rather than a fixed character count, and it may rewrite titles it finds unhelpful.

Does the meta description affect rankings?

Google has said the meta description is not a direct ranking factor. It still matters, because a clear description can persuade more people to click, although Google sometimes shows its own snippet instead.

How many times should the keyword appear on a page?

There is no ideal number. Use the keyword in the title, the H1, the first paragraph and where it reads naturally. Repeating it again and again, called keyword stuffing, makes the page worse for readers and can hurt it.

Do headings like H1 and H2 help SEO?

Yes. Clear headings help search engines and readers understand how a page is organised. Use one H1 for the main topic and H2s for the main sections, in a logical order.