button navigate to page
snippet in html

button navigate to page

user8976

<button onclick="window.location.href = 'index.html'"> Navigate </button>
<!-- Replace 'index.html' with the name of the page to navigate to, or a URL. -->