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

Code Example 1

<a href="https://www.w3schools.com" target="_blank">Visit W3Schools</a>

Code Example 2

<a href="https://raincolor.ir" target="_blank">Visit RainColor</a>

Code Example 3

<a href="https://www.w3schools.com" target="_self">Visit W3Schools</a>

Learn ReactJs, React Native from akashmittal.com