button as link blazor 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>