button becomes a href 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>