I'm trying to have a button with an onclick event, that acts like a normal link inside another link.
<a href="http://link1.com">
<div>
<h3>Some text</h3>
<p>Some other text</p>
<button onclick= 'window.location="http://www.google.de";'>Test</button>
</div>
</a>
I want to be able to click the whole div to get to link1, but if I click the button it should take me to google.de. Is there a possible way?