JavaScript Open Link в новой вкладке
function NewTab() {
window.open(
"https://www.yourURL.com", "_blank");
}
Woolly Necked Stork
function NewTab() {
window.open(
"https://www.yourURL.com", "_blank");
}
window.open(url,'_blank');
//open in new window, not new tab
window.open('https://www.codegrepper.com', '_blank', 'toolbar=0,location=0,menubar=0');
<a href='https://google.com/' target='_blank'>
Google site
</a>