My second inclination would be to deal with it in JavaScript. <divonclick="window.location='https://codepen.io'"style="cursor:pointer;"tabindex="1">Outside<ahref="https://css-tricks.com">Inside</a></div> I have