Type of links:
<a> tag is used to create a hyperlink.
<a href="url">Text</a> is used to create a hyperlink with text.
<a href="#id">Text</a> is used to create a hyperlink to specific location of the page.
<a href="mailto:email">Text</a> is used to create a link to send email
Parametrs:
href attribute is used to specify the URL of the page the link goes to.
e.g. <a href="https://www.google.com">Google</a>
<a href="url">
<img src="image.jpg" alt="image">
</a>
<a href="#id">Text</a>
Output:
Top