w3schools.com html css onclick link go to section code example
Example 1: hyperlink html
<a href="url">link text</a>
Example 2: html button with link
<form action="https://google.com">
<input type="submit" value="Go to Google" />
</form>
<a href="url">link text</a>
<form action="https://google.com">
<input type="submit" value="Go to Google" />
</form>