We can add HYPERLINKS to the text , buttons, images and more. whatever u like to turn into HyperLink, surround it with pair of <a> </a>
tag. inside the opening tag , add href = "link"
Example : <a href="google.com"> GOOGLE </a>
by default when u add hyperlink , it gonna load on the same page, but if u wanna open it in a new tab, u can add this by adding target=_blank
attribute next to href
default is target=_self
we can add title
tag to add message when pointer hover on hyperlink. like title="this will redirect you to google"
Rather than linking external links, we can link pages in our our website too. as and example : linking product page in navigation bar on home page.
u can do that by inserting file name and location inside href
: href="products.html"
And also we can link email address using <a>
tag that directly opens mail app in the computer or mobile phone. to do that
<a href="mailto:timbernerslee@gmail.com"> EMAIL ME </a>