link html to buttons code example
Example 1: button as href
<button onclick="location.href='http://www.example.com'" type="button">
www.example.com</button>
Example 2: buttons with class html
<button class="thisisclass" id="classbutton">i got class</button>