On-page SEO remains as relevant as ever for ensuring your target audience sees your content—regardless of whether users search with traditional search engines like Google or AI tools like ChatGPT.
This on-page SEO guide will detail exactly what on-page SEO is, why it matters, and the techniques you can use to optimize your content. Let’s begin.
What Is On-Page SEO?
On-page SEO is the process of improving the structure and content—like text, images, and videos—of webpages to increase their likelihood of showing in traditional and AI search results.
Examples of on-page SEO tasks include strategically placing target keywords in content and writing accurate title tags.
Why Is On-Page SEO Important?
On-page SEO is important because it helps traditional and AI search engines understand your pages and match them to relevant queries, which can improve visibility and drive relevant traffic.
Case in point: We optimized our article on backlinks by adding helpful content about backlinks’ relevance to AI search and saw performance improve as a result.
Before optimization in September 2025, our backlinks article ranked in position 5 on Google for the term “what are backlinks,” according to the Organic Rankings tool. We published our updated article in February 2026, and the article has since moved to position 2.

It’s also worth pointing out that our backlinks article appears in dozens of AI Overviews.
On-Page SEO vs. Off-Page SEO
On-page SEO involves performing tasks on webpages (i.e., internally) to improve a site’s search visibility, while off-page SEO involves performing tasks outside of a site (i.e., externally) to achieve the same objective.
For example, writing unique, helpful content is an on-page SEO technique. Getting backlinks to that content is an off-page SEO technique.
Here are examples of on-page SEO vs. off-page SEO techniques:
| On-Page SEO Methods | Off-Page SEO Methods |
| Placing target keywords strategically | Link building |
| Writing accurate title tags | Guest posting |
| Optimizing your URL slugs | |
| Writing accurate meta descriptions | Social media marketing |
| Structuring your content with headings | Influencer marketing |
| Creating unique, helpful content | |
| Adding strategic internal links | Getting brand mentions |
| Adding external links to credible sources | |
| Writing descriptive image file names and alt text | |
| Optimizing for page speed | |
| Adding schema markup |
You have full control over the execution of on-page SEO tasks on your site. Which makes on-page SEO a good starting point for your SEO strategy.
How to Do On-Page SEO for Your Site: 11-Item Checklist
Do on-page SEO for your site with this 11-item on-page SEO checklist:
1. Place Target Keywords & Prompts Strategically
Place target keywords and prompts strategically in your content to signal relevance to traditional search engines, AI search engines, and users.
Content that conveys relevance through keywords and prompts is more likely to appear in search results and get clicks.
After doing keyword research (and prompt research) to identify your target terms, incorporate them in page locations like these:
- H1 heading
- First paragraph
- Subheadings
- URL slug
- Image alternative (alt) text
This Semrush blog post demonstrates strategic keyword placement, with the “ai overviews” target keyword being included in the post’s URL slug, H1 heading, first paragraph, and H2 subheading, among other places.

When incorporating keywords, ensure they read as a natural part of the discussion. Don’t stuff keywords into every sentence or even every paragraph.
Analyze your keyword and prompt use with the On Page SEO Checker. To check whether you’ve added your terms in the right areas.

On Page SEO Checker also suggests semantically related keywords you can include in your content to strengthen topical relevance.
2. Write Accurate Title Tags
Write title tags that accurately describe your pages to help traditional and AI search engines match your content to relevant searches.
A title tag is the HTML title that shows in browser tabs and that can appear in AI and traditional search results.
Accurate title tags that show in search results help users decide if your pages meet their needs. If so, they’ll be more likely to click through to visit your pages.

Follow these best practices when writing title tags:
- Keep your titles between 50 and 60 characters to avoid truncation
- Include your target keyword to clearly indicate what the page is about
- Make your title tags the same as or similar to the H1 titles to provide a consistent experience
- Use unique titles for all pages to help search engines and users differentiate your pages’ topics
- Write compelling titles in ways like including “best” or other attention-grabbing words
3. Optimize Your URL Slugs
Optimize your URL slugs to be short, descriptive, and keyword-rich, so search systems and users can understand your pages’ relevance.
A URL slug is the last part of the page’s URL that identifies the page. For example, the URL slug of the “https://sr01.prideseotools.com/_www/blog/on-page-seo” blog post is “on-page-seo.”
Optimize your URL slugs with these tips:
- Include your target keyword: This signals relevance to the main query
- Keep your URL slugs short: Aim for three to five words when possible
- Make your URL slugs readable: Use words that represent your page’s content. Avoid random numbers, publish dates, and unnecessary text.
- Use hyphens to separate words: Use “email-marketing-guide” and not “emailmarketingguide” or “email_marketing_guide”
- Avoid unnecessary parameters after the URL slug: Remove UTM parameters, session IDs, tracking codes, and date stamps unless they’re required for functionality
An optimized URL slug could look like this:
//sr01.prideseotools.com/?q=aHR0cHM6Ly93d3cuYnJhbmRvbnNiYXNlYmFsbGNhcmRzLmNvbS9ibG9nL3JhcmVzdC1iYXNlYmFsbC1jYXJkczwvc3Ryb25nPjwvcD48aDM%2BNC4%3D Write Accurate Meta Descriptions Writing accurate meta descriptions that users find interesting can help persuade users to click your page over others. A meta description is an HTML element that provides a brief page summary. AI and traditional search engines may use or reference meta descriptions to generate snippets that show in search results: Improve your meta descriptions with these best practices: Here’s an example of a good meta description for a blog post targeting the “best running shoes for beginners” keyword: "Our testers picked the 9 best running shoes for beginners. Compare specs to find your perfect shoe today." Structure your pages with headings like H1, H2, H3, etc., to organize your page content into scannable sections that help users, traditional search engines, and AI search engines understand your page structure and content. Having headings improves your pages’ chances of appearing in organic search results and getting cited in AI-generated responses. Headings also provide visual hierarchy that makes your pages easier for users to read—especially if your headings have different font sizes and colors. Here’s how to properly use headings: Write headings—and the content that follows them—in these ways to help AI and traditional search engines extract clear answers from your pages: Create unique, helpful content that matches search intent, covers topics comprehensively, and demonstrates expertise to increase the likelihood of AI and traditional search engines showing your content. To produce high-quality content optimized for AI search engines, take steps like: And review and update your content regularly after publishing. Research shows that AI search engines prefer to surface pages that contain the latest information. Add internal links that connect to other pages on your site to help users and search systems discover your content. On-page SEO best practices for adding internal links include: Adding external links to credible sources that support your claims directs readers to related resources they may find helpful and builds trust. Linking to authoritative sources is also a proven tactic for boosting AI search visibility, as researchers have found. Follow these external linking tips: Use a tool like Semrush’s Site Audit to find opportunities for improving external linking. After setting up your site as a project in Site Audit, you can filter for external link issues on the site. And click “How to fix” to get recommendations for fixing these issues. Write descriptive image file names and alt text to increase the likelihood of your pages appearing in image search results. Alt text is an HTML element that describes a page’s image when the image can't be displayed or when users rely on assistive technologies to navigate the page. An image’s file name should describe the image’s subject in general, while the alt text may provide more details. The Pinch of Yum blog provides a good example. The file name of this image of meatball ingredients is “Ingredients-for-Swedish-Meatballs.jpg.” And the image’s alt text is “Ingredients for meatballs in a bowl before mixing.” Where relevant, you may add target keywords to your image file names and alt text to improve your images’ discoverability for these keywords. More alt text best practices include: Optimizing for page speed (beyond optimizing images) improves SEO and AI search visibility, and it can also reduce bounce rates—the rate at which users leave a site without engaging. If a page takes too long to load, traditional search engines may rank it lower. That can affect the page’s AI visibility, because AI search engines often rely on traditional search results to identify sources worth citing. And users may bounce from slow pages because they can get the information they need elsewhere more quickly. On-page methods of reducing page speeds include: Measure your pages’ load speeds with Google’s PageSpeed Insights. This tool provides performance scores for Largest Contentful Paint (LCP)—the time your page’s main content takes to load—and a few related metrics. And also lists tactics for improving speed and the overall page experience. Add schema markup to your pages to help search engines better understand their content, which can lead to higher traditional and AI search visibility. Schema is a type of structured data that provides more details about pages. Common schema types include: Traditional search engines can use schema markup to generate rich snippets. Rich snippets display extra information on eligible traditional search result listings and make these listings more enticing for users to click. Like this traditional search result listing, which has a review rich snippet: Use a tool like Google’s Structured Data Markup Helper to add schema to your pages. Then, use Google’s Rich Results Test to check if you’ve implemented the schema correctly. Measure on-page SEO success by tracking key AI search and SEO metrics before and after implementing optimizations, so you know what’s driving results. Use tools to track key metrics like: You can access several of these tools with a Semrush One subscription. Sign up today.
5. Structure Your Content with Headings

6. Create Unique, Helpful Content
7. Add Strategic Internal Links

8. Add External Links to Credible Sources

9. Write Descriptive Image File Names and Alt Text

10. Optimize for Page Speed

11. Add Schema Markup

Measure Your On-Page SEO Success
