Starlit Daily

📚 › HTML: build the structure of a web page

6. Links

Este artículo se traducirá automáticamente. Por ahora se muestra en inglés.

The a element creates a link. Its href attribute holds the address. The text between the tags is what the visitor clicks.

To open a link in a new tab, add target="_blank" and rel="noopener" for safety.

Ver ejemplo

<a href="https://www.wikipedia.org" target="_blank" rel="noopener">Wikipedia</a>

✍️ Ahora te toca

Add a link with the text Example that goes to https://example.com

← Volver al curso