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

Code Example 1

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

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


Code Example 2

<a href="your link" target="_blank">The home page will open in another tab.</a>

//Put target="_blank" as shown

Code Example 3

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

Code Example 4

<!-- Use the target="_blank" attribute to open a link in a new tab -->
<a href="link" target="_blank">This link is in a new tab.</a>

Code Example 5

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

Code Example 6

//Akbarali yozgan
<a href="#" target="_blank">Opens the linked document in a new window or tab</a>

<a href="#" target="_self">	Opens the linked document in the same frame as it was clicked (this is default)</a>

<a href="#" target="_parent">Opens the linked document in the parent frame</a>

<a href="#" target="_top">Opens the linked document in the full body of the window</a>

Learn ReactJs, React Native from