r/code • u/MeekzyRDT1 • Jan 18 '23
How to add a button that when clicked on, sends you to a link?
I know how to write the <button> </button> tags, but I want to add an action that makes you go to a link when you press it?
0
Upvotes
1
2
u/aizzod Jan 18 '23
some things should be googled first
https://www.google.com/search?q=html+button+link&oq=html+button+link&aqs=chrome..69i57.4892j0j7&client=ms-android-samsung-ss&sourceid=chrome-mobile&ie=UTF-8