Check out example codes for "href html". It will help you in understanding the concepts better.

Code Example 1

<a href = ''>Text in link</a>

Code Example 2

<a href="link">text</a>

Code Example 3

<a href="" >Link text</a>

Code Example 4

<a href="url">link text</a>

Code Example 5

The href attribute specifies the URL of the page the link goes to

Code Example 6

Actually href is a html attribute, which is used for passing page url to the a tag.
<a href="url">Click here</a>

Learn ReactJs, React Native from