html button in href code example Example: href on a button Click to copy<button onclick="window.location.href='/page2'">Continue</button>