Answers for "how to use button with link in html"

20

href on a button

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

html button link

<button><a href='https://google.com' alt='Broken Link'>This is a button</a></button>
Posted by: Guest on February-02-2020
2

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
0

how to make a button link in html

<button <button="">
<a href="URL here"
>text here
</a></button>
Posted by: Guest on September-22-2021
0

button with href

onClick={() => {window.location.href="https://www.golfballs.com/"}}
Posted by: Guest on August-05-2020

Code answers related to "how to use button with link in html"

Browse Popular Code Answers by Language