Jump into concepts and practice - no test required
or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Why On-Page SEO Signals Relevance
📖 Scenario: You are a website owner who wants to improve your site's visibility on search engines. Understanding how on-page SEO helps search engines know what your page is about is key to attracting the right visitors.
🎯 Goal: Build a simple HTML page that uses on-page SEO elements to clearly signal the page's topic to search engines.
📋 What You'll Learn
Create an HTML skeleton with <html>, <head>, and <body> tags
Add a <title> tag with the exact text 'Best Chocolate Cake Recipe'
Include a <meta name="description" tag with the content 'Learn how to bake the best chocolate cake with easy steps'
Use a main heading <h1> with the text 'Best Chocolate Cake Recipe'
Add a paragraph <p> describing the recipe briefly
💡 Why This Matters
🌍 Real World
Website owners and content creators use on-page SEO to help search engines understand their pages and attract the right visitors.
💼 Career
SEO specialists and digital marketers must know how to optimize on-page elements to improve search rankings and website traffic.
Progress0 / 4 steps
1
Create the basic HTML structure
Create an HTML page with <html>, <head>, and <body> tags.
SEO Fundamentals
Hint
Start by typing the basic HTML tags to form the page structure.
2
Add the title and meta description
Inside the <head> tag, add a <title> tag with the text Best Chocolate Cake Recipe and a <meta name="description" content="Learn how to bake the best chocolate cake with easy steps"> tag.
SEO Fundamentals
Hint
The <title> and <meta name="description"> tags help search engines understand your page topic.
3
Add a main heading
Inside the <body> tag, add a main heading using <h1> with the text Best Chocolate Cake Recipe.
SEO Fundamentals
Hint
The main heading tells both users and search engines the main topic of the page.
4
Add a descriptive paragraph
Below the <h1> heading, add a paragraph <p> with the text Follow this easy recipe to bake a delicious and moist chocolate cake perfect for any occasion.
SEO Fundamentals
Hint
A paragraph with relevant content supports the page topic and helps search engines understand the page better.
Practice
(1/5)
1. What is the main purpose of on-page SEO in relation to search engines?
easy
A. To hide keywords from visitors
B. To increase the number of ads on the page
C. To tell search engines what the page content is about
D. To make the page load slower
Solution
Step 1: Understand the role of on-page SEO
On-page SEO involves optimizing elements on the webpage to communicate its topic clearly to search engines.
Step 2: Identify the correct purpose
Among the options, only telling search engines what the page is about matches the purpose of on-page SEO.
Final Answer:
To tell search engines what the page content is about -> Option C
Quick Check:
On-page SEO = Page relevance [OK]
Hint: On-page SEO explains page content to search engines [OK]
Common Mistakes:
Confusing on-page SEO with advertising
Thinking on-page SEO slows down the site
Believing on-page SEO hides content
2. Which of the following is a correct on-page SEO element?
easy
A. <title> tag describing the page
B. Using invisible text to add keywords
C. <script> tags for JavaScript
D. Adding many unrelated keywords in content
Solution
Step 1: Recognize valid on-page SEO elements
The <title> tag is used to give a clear title describing the page content, which is important for SEO.
Step 2: Eliminate incorrect options
<script> tags are for JavaScript, not SEO signals; invisible text and keyword stuffing are bad practices.
Final Answer:
<title> tag describing the page -> Option A
Quick Check:
Title tag = valid SEO element [OK]
Hint: Title tag clearly describes page content [OK]
Common Mistakes:
Confusing script tags with SEO tags
Thinking hidden text helps SEO
Believing keyword stuffing improves ranking
3. Consider this HTML snippet:
<h1>Best Chocolate Cake Recipe</h1>
<img src='cake.jpg' alt='Chocolate cake'>
<p>Learn how to bake a delicious chocolate cake.</p>
What on-page SEO signals does this snippet provide?
medium
A. It signals the page is about chocolate cake recipes
B. It signals the page is about car repairs
C. It signals the page is about travel destinations
D. It signals the page is about software development
Solution
Step 1: Analyze the heading and alt text
The heading says "Best Chocolate Cake Recipe" and the image alt text is "Chocolate cake," both clearly about chocolate cake.
Step 2: Check paragraph content
The paragraph talks about baking a delicious chocolate cake, confirming the topic.
Final Answer:
It signals the page is about chocolate cake recipes -> Option A
Quick Check:
Headings + alt text = page topic [OK]
Hint: Headings and alt text show page topic clearly [OK]
Common Mistakes:
Ignoring alt text importance
Misreading heading content
Assuming unrelated topics from content
4. A webpage has this title tag: <title>Cheap Flights</title> But the page content is about luxury hotels. What is the main SEO problem here?
medium
A. The title tag is too long
B. Title tag and content do not match, confusing search engines
C. The page has no images
D. The page uses too many keywords
Solution
Step 1: Compare title tag and page content
The title says "Cheap Flights" but content is about luxury hotels, so they do not match.
Step 2: Understand SEO impact
Mismatch confuses search engines about the page topic, hurting relevance and ranking.
Final Answer:
Title tag and content do not match, confusing search engines -> Option B
Quick Check:
Title-content match = relevance [OK]
Hint: Match title and content for clear SEO signals [OK]
Common Mistakes:
Thinking title length is the issue
Ignoring content-topic mismatch
Assuming images fix relevance problems
5. You want your webpage about "organic gardening tips" to rank well. Which combination of on-page SEO elements best signals relevance?
D. Title: "Organic Gardening Tips"; Heading: "Grow Your Own Food"; Image alt: "Vegetable garden"
Solution
Step 1: Check title, heading, and alt text relevance
Title: "Organic Gardening Tips"; Heading: "Grow Your Own Food"; Image alt: "Vegetable garden" has all elements related to gardening and growing food, matching the topic well.
Step 2: Compare other options for mismatches
Options B, C, and D have mismatched titles, headings, or alt texts unrelated to organic gardening, confusing search engines.
Final Answer:
Title: "Organic Gardening Tips"; Heading: "Grow Your Own Food"; Image alt: "Vegetable garden" -> Option D
Quick Check:
Consistent SEO elements = strong relevance [OK]
Hint: Keep title, headings, alt text on the same topic [OK]