CHAPTER 55 · HTML
Search-friendly pages and sharing metadata
Connect helpful visible content with accurate document information. Understand discovery, canonical addresses and sharing previews without promising search rankings.
Download example files (ZIP)Search needs a useful page to understand
Write the answer before adding tags
Title and description should match the actual page
Give a duplicate page a preferred address
Open Graph describes a shared link
A sharing preview is not a live guarantee
Keep the page reachable, readable and reasonably light
Indexing controls are not passwords
Follow the idea
- 1Write useful visible content
- 2Connect descriptive working links
- 3Match document and sharing metadata
- 4Check the real published resources
Metadata gives signals; it does not guarantee a rank or create a public image.
Complete program: search-workshop.html
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Link Practice Workshop | Practice Club</title>
<meta
name="description"
content="Practise clear link wording, relative file paths and destination checks in a fictional student workshop."
/>
</head>
<body>
<h1>Practise clear links in one short workshop</h1>
<main>
<p>
This fictional workshop helps a beginner choose clear link text and test a saved
destination.
</p>
<section id="tasks">
<h2>What you will practise</h2>
<ul>
<li>Name a destination clearly.</li>
<li>Match a relative address to its file.</li>
<li>Test the link after saving.</li>
</ul>
</section>
<p><a href="sharing-checklist.html">Read the link-testing checklist</a></p>
</main>
</body>
</html>This preview shows the example in a browser. Save the complete code in local files to test links between pages and downloads. Same-page section links work here.
Complete program: sharing-checklist.html
<!doctype html>
<html lang="en" prefix="og: https://ogp.me/ns#">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Link-Testing Checklist | Practice Club</title>
<meta
name="description"
content="A fictional three-step checklist for testing a workshop link and its return destination."
/>
<link rel="canonical" href="https://example.invalid/practice/link-checklist/" />
<meta property="og:title" content="Link-Testing Checklist | Practice Club" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://example.invalid/practice/link-checklist/" />
<meta
property="og:description"
content="Check a workshop link and its return destination before sharing a page."
/>
<meta property="og:image" content="https://example.invalid/assets/link-checklist-cover.png" />
<meta
property="og:image:alt"
content="An original checklist cover showing three link-testing steps."
/>
</head>
<body>
<h1>Check a link before sharing the page</h1>
<main>
<p>
Check the wording, destination file and intended reading order before sharing your work.
</p>
<ol>
<li>Save both HTML pages.</li>
<li>Follow the workshop link to this checklist.</li>
<li>Use the return link and confirm that it reaches the workshop.</li>
</ol>
<p><a href="search-workshop.html">Return to the link practice workshop</a></p>
<p>
The sharing metadata in this source is a template. Replace example.invalid addresses with
your real published page and image addresses before use; it does not create a working social
preview from local files.
</p>
</main>
</body>
</html>This preview shows the example in a browser. Save the complete code in local files to test links between pages and downloads. Same-page section links work here.
Problem and solution
Common mistakes and useful tips
Do not promise rankings from metadata. Do not repeat one vague title everywhere. Canonical is a signal, not a redirect. Replace placeholder URLs before publishing. Open Graph does not create or upload an image. Robots instructions are not access control.
Practice questions
How do crawling and indexing differ? Why do the two examples use different titles? Does canonical redirect the browser? What does og:image identify? Will a local file automatically create a public sharing preview? Save both examples and test the forward and return links. Which metadata still needs real deployment details?
Check your practice answers
Crawling fetches resources; indexing processes content for possible inclusion in a search index. They serve different page purposes and should be recognisable separately. No. It signals a preferred address to search systems. A preview image resource; it does not generate that file. No. The provider needs a reachable published resource and suitable metadata. The paired local links should work. The placeholder canonical, og:url and og:image require the actual published page and image addresses.
Interview questions
Why is useful content part of SEO?
When is canonical useful?
How do search metadata and sharing metadata differ?
Why can a blocked page's noindex instruction be ineffective?
Quick revision
Start with helpful visible content. Use accurate page-specific metadata. Keep preferred addresses and links consistent. Test real public resources and avoid ranking guarantees.