<a href="www.example1.com" class="link1" target="_blank">example1</a>HTMLAnchorElement: target property / notebook
HTMLAnchorElement: target property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
const link = document.querySelector(".link1");
console.log(link.target); // output: "_blank"