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

Code Example 1

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

Code Example 2

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

Code Example 3

<!-- How to link to a website? -->
<a href="url"> Some text... </a>


<!-- How to create a link to another file? -->
<a href="path to de file"> Some text... </a>


<!-- How to create a link to a subsection within the document? -->
<!-- Example: object to which we want to jump to: -->
<h1 id="some id"> Title </h1>
<!-- linked text: -->
<a href="#some id"> Some text... </a>


<!-- How to associate a link to an image? -->
<a href="url">
<img src="path to image" alt="" style="width:42px;height:42px;">
</a>

Code Example 4

<a href="https://www.example.com">This is a link</a>

Code Example 5

<a href="https://example.com">Link text goes here</a>

Code Example 6

<!-- this is a link tag -->

<link rel="" href="">
<!-- href is the location of your external ressource 
	
list of rel used with a link tag (popular) : 
	- stylesheet (css)
	- alternate
	- author
	- external 
	- incon
	- index 
-->

Learn ReactJs, React Native from akashmittal.com