Starlit Daily

📚 › HTML: build the structure of a web page

6. Links

इस लेख का अनुवाद अपने आप होगा। अभी अंग्रेज़ी में दिखाया जा रहा है।

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.

उदाहरण देखें

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

✍️ अब आपकी बारी

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

← कोर्स पर वापस