xxxxxxxxxx
<a href="link.html"> text link </a> <!-- link to html -->
<a href="google.com" URL> Google </a> <!-- link to site -->
<a href="link.html"><button> Link </button></a> <!-- Button link -->
xxxxxxxxxx
<!DOCTYPE html>
<html>
<body>
<h1>HTML Links</h1>
<p><a href="https://www.w3schools.com/">Visit W3Schools.com!</a></p>
</body>
</html>
xxxxxxxxxx
<!-- Website Link -->
<a href="URL HERE">Click here!</a>
<!-- Another html file link (if it's in the same file) -->
<a href="[YOUR FILE].html">Page 2</a>
xxxxxxxxxx
<!--Short for “anchor” tag, the "a" tag is simply a link! The attribute you MUST have
for it to work is the href= (short for hyper reference) attribute, the value is a url (link)
to the website you will redirect your users to. An example of the a tag is:-->
<a href="https://www.w3schools.com/tags/tag_a.asp">Click me!</a>
<!--Like the img tag, the link can be relative or absolute but instead of linking to an image,
you link to the url! The target= attribute specifies if the url should be opened in a new tab
(_blank), the current tab (_self, by default), etc (these are target attribute values).
Example:-->
<a href="https://www.w3schools.com/tags/att_a_target.asp" target="_blank">
<!--The example shows that the a tag will link to the url (which is a tutorial on target
attribute) in a new tab because the attribute value is _blank!-->