html tags with href attribute code example
Example 1: html a href
<a href="http://example.com" >Link text</a>
Example 2: link in html
<a href="https://example.com">Link text goes here</a>
Example 3: href html
<a href="link">text</a>
Example 4: 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>