What is a tag in HTML

<a href="https://www.w3schools.com">Visit W3Schools.com!</a>
<a href="https://www.w3schools.com">Visit W3Schools.com!</a>
The HTML <a> element (or anchor element), with its href attribute,
creates a hyperlink to web pages, files, email addresses, locations
in the same page, or anything else a URL can address. Content within
each <a> should indicate the link's destination.

Use:

<a href="https://example.com"> </a>
<a href="https://www.google.com">Visit google.com!</a>
<a href="http://example.com" >Link text</a>
<a href = 'website.com/your/linked/page'>Text in link</a>

Leave a Comment