JSFiddle - React, Tailwind, and code Playground
HTML
<a class='clique' href="https://www.google.com">Google
<a class='clique' href="https://github.com/">Github</a>
<a class='clique' href="https://developer.mozilla.org">Mozilla</a>
</a>
JavaScript
document.querySelectorAll('a.clique').forEach(i => {
i.addEventListener('click', ev => {
ev.preventDefault();
window.open(ev.currentTarget.getAttribute('href'), 'janela');
})
});