Answers for "how to give button as a link in html"

40

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
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
3

html button with href

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

Code answers related to "how to give button as a link in html"

Browse Popular Code Answers by Language