Archivo funcional original
reference/public/blog/contact-anchor-check.html
El código y las páginas de ejemplo funcionales conservan sus identificadores y textos de muestra originales. La lección y las instrucciones de los archivos los explican en tu idioma.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Fix a mismatched contact link</title>
<link rel="stylesheet" href="../style.css" />
</head>
<body>
<main>
<nav><a href="../index.html">All notes</a></nav>
<article>
<h1>Fix a mismatched contact link</h1>
<p>Practice Author · <time datetime="2026-11-16">16 November 2026</time></p>
<p>
This is a fictional practice case, not the author’s personal project history.
</p>
<p>
In the turquoise anchor check, the Contact link did not reach the contact
section. Its href was #message while the section id was contact.
</p>
<p>
The diagnosis was to compare the fragment after # with the section’s exact id,
including spelling and case. The repair was href="#contact".
</p>
<p>
To check the repair, open the page, activate the link with the keyboard and
inspect that the URL ends in #contact and the intended section is reached. A
visual colour change alone would not prove the link worked.
</p>
</article>
</main>
</body>
</html>