xxxxxxxxxx
<a href="another-page.html">
<button>Go to another page</button>
</a>
xxxxxxxxxx
<!-- Create a button element -->
<button onclick="window.location.href='another-page.html'">Go to Another Page</button>
xxxxxxxxxx
<button onclick="window.location.href='/page2'">Continue</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>