Check out example codes for "how to add links in html". It will help you in understanding the concepts better.

Code Example 1

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

Code Example 2

<a href="link.html"> text link </a> <!-- link to html -->
<a href="" URL> Google </a> <!-- link to site -->
<a href="link.html"><button> Link </button></a> <!-- Button link -->

Code Example 3

<a href="" target="_blank" rel="noopener noreferrer">
  Example Link

Code Example 4

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

Code Example 5

<a href="">Visit our HTML tutorial</a>

Learn ReactJs, React Native from