set href on button click code example
Example: html button link
<button><a href='https://google.com' alt='Broken Link'>This is a button</a></button>
<button><a href='https://google.com' alt='Broken Link'>This is a button</a></button>