how to use a href tag in html code example
Example 1: html link
<a href="https://www.google.com/">Link to google</a>
Example 2: html a href
<a href="http://example.com" >Link text</a>
Example 3: a href tag
Actually href is a html attribute, which is used for passing page url to the a tag.
Example
<a href="url">Click here</a>
Example 4: link in html
<a href="./Your/link/to/the/page">Your text</a>