href attribute in different tags code example
Example 1: 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 2: html a tag
<a href=""></a>
Actually href is a html attribute, which is used for passing page url to the a tag.
Example
<a href="url">Click here</a>
<a href=""></a>