How can we take the user to another page by clicking a button? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can we take the user to another page by clicking a button?

On Html do we need css or jave script for it?

8th Oct 2023, 11:44 AM
Akanksha Raundal
Akanksha Raundal - avatar
2 Answers
+ 5
<button><a href = "google.com">CLick Here</a></button>
8th Oct 2023, 1:16 PM
MATOVU CALEB
MATOVU CALEB - avatar
0
I tried it but it didn't work? what to do now? Can you send me an example using what you have coded. Please 🥺
9th Oct 2023, 5:28 PM
Akanksha Raundal
Akanksha Raundal - avatar