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

Code Example 1

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

Code Example 2

<a href="">Link to google</a>

Code Example 3

<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 4

<link rel="stylesheet" href="styles.css">

Code Example 5

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

Code Example 6

<!-- 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;">

Learn ReactJs, React Native from