Links · Enlaces
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · Esta página necesita un navegador reciente (con soporte para SharedArrayBuffer). Por favor, actualiza Chrome, Edge, Firefox o Safari a la última versión.
English
Links
- A link takes you to another page when you click it.
- Use the
<a>tag (astands for anchor). - The web address goes in
href:<a href="...">.
Español
Enlaces
- Un enlace te lleva a otra página al hacer clic en él.
- Usa la etiqueta
<a>(ase refiere al ancla). - La dirección web va dentro de
href:<a href="...">.
<a href="https://example.com">Visit Example</a>
English
href is an attribute
href="..."is an attribute — extra information inside the opening tag.- The text between
<a>and</a>is what the reader sees and clicks. - Use the full address, starting with
https://.
Español
href es un atributo
href="..."es un atributo — información adicional dentro de la etiqueta de apertura.- El texto entre
<a>y</a>es lo que el lector ve y hace clic. - Usa la dirección completa, comenzando con
https://.
<p>Need facts? <a href="https://wikipedia.org">Look it up</a> now.</p>
English
Common mistakes
- A link needs an
href. - Open a link in a new tab with
target="_blank".
Español
Errores comunes
- Un enlace necesita un
href. - Abre un enlace en una nueva pestaña con
target="_blank".
English
Now you try
- A link can stand alone, or sit inside a sentence.
- Build one of each below.
Español
Ahora tú prueban
- Un enlace puede estar solo, o situarse dentro de una oración.
- Construye uno de cada tipo abajo.
Add a link to https://example.com with the words Visit Example. · Agrega un enlace a https://example.com con las palabras Visitar Ejemplo.
Turn the words look it up into a link to https://wikipedia.org, without breaking the sentence. · Convierte las palabras buscalo en un enlace a https://wikipedia.org, sin romper la oración.