link click open new tab in html code example
Example 1: a tag open in new tabn
<a target="_blank" href="https://example.com">Link text</a>
Example 2: how to make a link in html that opens in a new tab
add attribute : target = "_blank"
<a target="_blank" href="https://example.com">Link text</a>
add attribute : target = "_blank"