click here button html code example
Example 1: onclick href
onclick="location.href='http://www.hyperlinkcode.com/button-links.php'"
Example 2: button functions html
<script>
function myFunction() {
alert("ALERT");
}
</script>
<button onclick="myFunction">Click</button>