Answers for "button html redirect"

7

html button redirect

For button redirection you can use below code:

Using these two type <button> and <input> tag:

<a href="http://www.google.com/">
   <button>Visit Google</button>
</a>
  
or:

<a href="http://www.google.com/">
   <input type="button" value="Visit Google" />
</a>
  
<!--
I hope it will help you.
Namaste
-->
Posted by: Guest on June-14-2020
9

html button redirect

You can make <button> tag to do action like this:

<a href="http://www.google.com/">
   <button>Visit Google</button>
</a>
or:

<a href="http://www.google.com/">
   <input type="button" value="Visit Google" />
</a>
It's simple and no javascript required!
Posted by: Guest on June-12-2021
0

how to make a button in html go to another address

<a href="google.com">
  <button>Visit Google</button>
</a>
Posted by: Guest on December-15-2020

Browse Popular Code Answers by Language