Volver a la lección

Archivo funcional original

reference/public/en/index.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>A small website, clearly explained</title>
    <link rel="stylesheet" href="../style.css" />
    <link rel="canonical" href="https://YOUR-SITE.example/en/" />
    <link rel="alternate" hreflang="en" href="https://YOUR-SITE.example/en/" />
    <link rel="alternate" hreflang="tr" href="https://YOUR-SITE.example/tr/" />
  </head>
  <body>
    <main>
      <nav aria-label="Language"><a href="../tr/" lang="tr" hreflang="tr">Türkçe</a></nav>
      <h1>A small website, clearly explained</h1>
      <p>See my work and find out how to contact me.</p>
      <section>
        <h2>Neighbourhood library</h2>
        <p>A simple page that makes opening hours and the address easy to find.</p>
        <a href="../project.html">View the practice project</a>
      </section>
      <section>
        <h2>Contact</h2>
        <a href="mailto:hello@example.com">hello@example.com</a>
      </section>
    </main>
  </body>
</html>