how to give link to button in html w3schools 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>