+ 1

Button to redirect a user ??

Hi i would like to know how could we redirect a user to a website with a button ?? I have tried this : <input type="submit" value="Try Sololearn" href="http://www.sololearn.com/" />

10th Aug 2018, 4:33 PM
Sullivan Prvd
Sullivan Prvd - avatar
2 odpowiedzi
+ 1
You can use the <a href="..."></a> element. The ... is the exact url of the other page where you will adress him.
10th Aug 2018, 4:49 PM
Ledio Deda
Ledio Deda - avatar
+ 1
thanks a lot, but where do i could put this into the button tag ?? https://code.sololearn.com/Wch889vuhGrA/?ref=app
10th Aug 2018, 4:52 PM
Sullivan Prvd
Sullivan Prvd - avatar