Answers for "how to make a button in html that take you to another page"

20

href on a button

<button onclick="window.location.href='/page2'">Continue</button>
Posted by: Guest on June-08-2020
1

how to add button to open a website using html

<button onclick="window.open('http://www.example.com')">
</button>
Posted by: Guest on February-24-2021

Code answers related to "how to make a button in html that take you to another page"

Browse Popular Code Answers by Language