html new window code example
Example 1: open new tab html
<a href="your link" target="_blank">The home page will open in another tab.</a>
Example 2: a tag open in new tabn
<a target="_blank" href="https://example.com">Link text</a>
<a href="your link" target="_blank">The home page will open in another tab.</a>
<a target="_blank" href="https://example.com">Link text</a>