Answers for "launch link using button s in html"

1

how do i make a link of a button go on a different page

<button type="button" onclick="window.location.href='the link you want the button to take you to'">Click me</button>
Posted by: Guest on February-19-2022
3

html button with href

<form method="get" action="/page2">
    <button type="submit">Continue</button>
</form>
Posted by: Guest on June-03-2020

Browse Popular Code Answers by Language