How to link any hyperlink in a button? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to link any hyperlink in a button?

Please help me out of this thing 🙏🙏

30th Jun 2020, 5:20 AM
mayank kumar
mayank kumar - avatar
4 Answers
30th Jun 2020, 5:48 AM
Gordon
Gordon - avatar
+ 2
To link an button to another document, simply nest the <input type="button"> tag inside <a> tags.
30th Jun 2020, 6:33 AM
Darshan R
Darshan R - avatar
0
<a href="www.google.com" > <button>Click me</button> </a>
30th Jun 2020, 6:40 AM
Apurbow Kumar Das
Apurbow Kumar Das - avatar