Links · Liens
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · Cette page nécessite un navigateur récent (avec support SharedArrayBuffer). Veuillez mettre à jour Chrome, Edge, Firefox ou Safari vers la dernière version.
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="...">.
Français
Liens
- Un lien vous amène vers une autre page lorsque vous cliquez dessus.
- Utilisez la balise
<a>(asignifie ancrage). - L'adresse web va dans
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://.
Français
href est un attribut
href="..."est un attribut — des informations supplémentaires à l'intérieur de la balise d'ouverture.- Le texte entre
<a>et</a>est ce que le lecteur voit et clique. - Utilisez l'adresse complète, en commençant par
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".
Français
Erreurs courantes
- Un lien a besoin d'un
href. - Ouvrez un lien dans un nouvel onglet avec
target="_blank".
English
Now you try
- A link can stand alone, or sit inside a sentence.
- Build one of each below.
Français
À vous maintenant
- Un lien peut être autonome, ou se trouver à l'intérieur d'une phrase.
- Construisez-en une de chaque ci-dessous.
Add a link to https://example.com with the words Visit Example. · Ajoutez un lien vers https://example.com avec les mots Visit Example.
Turn the words look it up into a link to https://wikipedia.org, without breaking the sentence. · Transformez les mots look it up en un lien vers https://wikipedia.org, sans casser la phrase.