<a href="url">link text</a>
<a href="https://www.google.com/">Link to google</a>
<!-- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a -->
<!-- link -->
<a href="http://"></a>
<!-- telp -->
<a href="tel:+"></a>
<!-- Email -->
<a href="mailto:someone@example.com">Send email</a>
<!-- File -->
<a href="/html/default.asp"></a>
<!--Normal-->
<a href="Url/File">Display Text</a>
<!--Open in New Tab-->
<a href="Url/File" target="_blank">Display Text</a>
<a href="https://app.revature.com">Visit our learning platform</a>
<!--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!-->
<a href="URL">Text</a>
<a href = "url.png"> Text that is shown</a>
Html hyper link examples below!
Example 1:
<a href="yourlink.com">Your text here</a>
Example 2:
<h1><a href="yourlink.com>Text here is displayed in h1 format</a></h1>
<a title="go to google" href="https://www.google.com">Click to Google.com</a>
<!-- 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>
<a href="mailto:mhmd.shrydh1996@gmail.com">Send me Email</a>
<a href="example">Example</a>
<a href="link">Title of link</a>
<!-- Change link, change link title, add target="_blank" in anchor tag(<a></a>) if you want it to open in new tab. -->
<a href="URL(Destination of the hyperlink)">Here, It can be an img src or button or text</a>
<!-- You can add target="_blank" if you'd like -->
<a href="https://media2.giphy.com/media/g7GKcSzwQfugw/200.gif" target="_blank"><button class="btn" style="width:100%"><i class="fa fa-download"></i>Redirect to GIF link</button></a>
<!-- CSS for the EXAMPLE I made -->
<style>
.btn {
background-color: DodgerBlue;
border: none;
color: white;
padding: 12px 30px;
cursor: pointer;
font-size: 20px;
}
.btn:hover {
background-color: RoyalBlue;
}
</style>
<a href="enter the link in here" title="enter the mini title">enter the title of link</a