+ 1
How to use a button to go from one page to another page in html ? pls.. give an example code
2 Answers
+ 1
Using JavaScript:
<button onclick="window.location.href='/page2'">Continue</button>
+ 1
Using this <form method="get" action="/page2"> <button type="submit">Continue</button> </form>