E -Mail -Anker -Tag
<a href="mailto:[email protected]">Email</a>
Ugliest Unicorn
<a href="mailto:[email protected]">Email</a>
<!-- if you are on Window : -->
<button onclick="window.location.href='page2.html'">
Button
</button>
<!-- if you are on linux or macOS : -->
<button onclick="location.href='page2.html'">
Button
</button>
<a href="https://www.google.com/">Link to google</a>
<a href="https://www.google.com/"> google </a>
<a href="https://www.google.com/">Google
The Attribute "href" is a HTML tag Used to Add indirect Links to a Webpage. i.e You can add links into a page by not actually displaying the link, but instead it "Embeds" the link into a piece of text.
We need to put the "href" under a Tag known as "<a>".
For Example: <a href="www.google.com">Google</a>
The text in between >Google</a> is what will be displayed in your Webpage :)