Skip to content
Novus Examples
html621 B

HTML head with a self-referential canonical

The baseline every canonical audit should pass: one self-referential canonical, an indexable robots meta, matching hreflang self-reference and an og:url that agrees with all of them. For use as the comparison reference against the conflicting pages in this set.

Preview — first 18 lineshtml
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Trail boots | Example</title>
<link rel="canonical" href="https://www.example.com/catalog/boots">
<meta name="robots" content="index,follow">
<link rel="alternate" hreflang="en" href="https://www.example.com/catalog/boots">
<link rel="alternate" hreflang="x-default" href="https://www.example.com/catalog/boots">
<meta property="og:url" content="https://www.example.com/catalog/boots">
</head>
<body>
<h1>Trail boots</h1>
<p>Sample page. Fictional product data.</p>
</body>
</html>

Specifications

Seed
70400
Site
example.com (fictional)
Format
HTML5 head fixture
Encoding
UTF-8
Canonical Tags
1
Self Referential
true
Robots
index,follow
Signals Agree
true

Testing contract

Reference control
Scenario
Extract every indexing signal from the head and check them for agreement.
Expected result
One canonical is found, it equals the page's own URL, robots permits indexing, and the hreflang self-reference and og:url resolve to the same URL - zero conflicts reported.

What is a .html file?

HTML (HyperText Markup Language) is the structural markup language of the web, using nested tags to define document content, semantics, and links. It is typically paired with CSS for presentation and JavaScript for behavior. It is the foundational format rendered by browsers.

How to use this file

Use an example HTML file to test parsers, DOM construction, sanitization of untrusted markup, and rendering or scraping pipelines.

How to use this file for testing

“HTML head with a self-referential canonical” is a deterministic Novus Examples fixture for Web assets, HTML parsing, Metadata testing. Favicons, web app manifests, service workers, robots and sitemap files, Open Graph images, and .well-known resources — for testing web tooling, crawlers, PWA installers, and asset pipelines.

Documented properties for this file: seed 70400 · UTF-8 · HTML5 head fixture. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Web-platform fixtures are standards-compliant samples against fictional example.com data. Test crawlers, PWA installers and manifest validators, favicon/icon pipelines, service-worker registration, or .well-known parsers against the documented structure.

Generated by generation/web_p7.py. Free for any use, no attribution required — license.