Answers for "open link in new tab js"

84

opem link in new tab html

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

<!--  Put target="_blank" as shown -->
Posted by: Guest on July-18-2020
18

javascript open link in new tab

function NewTab() { 
            window.open( 
              "https://www.yourURL.com", "_blank");
}
Posted by: Guest on November-18-2019
3

open new tab with javascript

window.open(url,'_blank');
Posted by: Guest on March-26-2020
8

javacript open url in new tab

window.open(url,'_blank');
window.open(url);
Posted by: Guest on July-05-2020

Browse Popular Code Answers by Language