button as hyperlink in html code example
Example: button as href
<button onclick="location.href='http://www.example.com'" type="button">
www.example.com</button>
<button onclick="location.href='http://www.example.com'" type="button">
www.example.com</button>