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

Code Example 1

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

Code Example 2

<!DOCTYPE html>
## Code by Scratchy (Twitter @S_cratchy)

<a href="" target="_blank">Gooooooooogle!</a> 


Code Example 3

<a href="#" target="_blank">By this you can open your document in new tab</a>
<a href="#" target="_self"> by this linked document in the same frame as it was clicked (this is default)</a>
<a href="#" target="_parent">by this linked document in the parent frame</a>
<a href="#" target="_top">Opens the linked document in the full body of the window</a>

Code Example 4

Example: <a href="" target="_blank">Example</a>

Code Example 5

></a> // add targer="_blank"

Code Example 6

<a href="#" rel="noopener noreferrer" href="link"></a>

Learn ReactJs, React Native from