xxxxxxxxxx
<button onclick="window.open('http://www.example.com')">
</button>
xxxxxxxxxx
<style>
/* Put the link inside the button */
button > a {
z-index: 5;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
opacity: 0;
}
</style>
<button>
<a href="/register.html"></a>
<p>Create an Account</p>
</button>