how to open a new tab when clicking a link in html code example
Example 1: how to make a link in html that opens in a new tab
add attribute : target = "_blank"
Example 2: open new tab when clicking link html
<!-- add target="_blank" to open new tab when link is clicked [in HTML]-->
<a href="YourLink" target="_blank">YourText</a>
Example 3: open link in new tab
<a href="The link of the page" target="_blank">Open page in new tab</a>