Answers for "how to add an href to a button 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

Code answers related to "how to add an href to a button in html"

Browse Popular Code Answers by Language