Use the href attribute for link URL
By default, browsers underline links and display unvisited links in blue and visited links in purple. Remember that if the href
attribute isn't present in the <a>
tag, the element will not be a hyperlink.
Plus, you can use links to redirect users to email addresses instead of web page URLs. For example, writing <a href=”mailto:[email protected]”> Send email </a>
will send users to an email.