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

Code Example 1

<a href="http://example.com" >Link text</a>

Code Example 2

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

Code Example 3

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

Code Example 4

<a href = 'website.com/your/linked/page'>Text in link</a>

Code Example 5

<a href="#"><!-- The "#" to be replaced with filename or website address -->Go Somewhere</a>

Learn ReactJs, React Native from akashmittal.com