-1

Iam unable to find out the code which makes me to create button using html and that works as link.

I have tried from many sources but I'm unable to figure out my problem. So im hoping that anyone from this website will help me to sort my problem.

ajayvutti
  • 1
  • 2
  • This is a repeated question. https://stackoverflow.com/questions/2906582/how-do-i-create-an-html-button-that-acts-like-a-link – Rory Dec 10 '22 at 09:42

1 Answers1

-1

To put inside the of your HTML file

<form>
   <input type="button"onclick="window.location.href='https://stackoverflow.com';" value="stackoverflow" />
</form>