window.open('https://www.codexworld.com', '_blank');
<a href="https://www.codexworld.com" target="_blank">Visit CodexWorld</a>