+ 2

How to add link to a button without using javascript

tell me

28th Jun 2018, 12:22 PM
tushar
tushar - avatar
3 Antworten
+ 3
<button><a style="text-decoration:none; color:black;" href="http://google.com">Google link</a></button>
28th Jun 2018, 12:43 PM
Calviղ
Calviղ - avatar
+ 4
you can also do in this way , but using <form action=""> is best <a href="https://www.google.com"> <button> Test</button> </a>
28th Jun 2018, 12:41 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 2
you can use form <form action="link url" method="post" ><input type="submit" value="BUTTON"></form>
28th Jun 2018, 12:33 PM
Macauley Daniel Emete
Macauley Daniel Emete - avatar