how to make a tag a button code example
Example 1: button functions html
<script>
function myFunction() {
alert("ALERT");
}
</script>
<button onclick="myFunction">Click</button>
Example 2: html button with link
<form action="https://google.com">
<input type="submit" value="Go to Google" />
</form>