Answers for "how to send a link in a button 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 as link

<button class="btn btn-success" onclick="location.href='http://google.com';"> Google</button>
#open link from button
Posted by: Guest on September-26-2021

Code answers related to "how to send a link in a button html"

Browse Popular Code Answers by Language