add a link to to button html code example
Example 1: html button link
<button><a href='https://google.com' alt='Broken Link'>This is a button</a></button>
Example 2: How to create an HTML button that acts like a link?
<button onclick="window.location.href='test.html'">Continue</button>