How do I link to a direct link? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I link to a direct link?

8th Nov 2018, 1:35 AM
Neymar Silva
Neymar Silva - avatar
4 Answers
+ 1
<button> <img src="link of image"> </button> <!-- Example: --> <button><img src="https://imagizer.imageshack.com/v2/70x70q90/r/924/tBUnA4.png"></button> https://code.sololearn.com/WUbypDrlJ2K3/?ref=app
8th Nov 2018, 4:11 AM
Alessio Benvenuti
Alessio Benvenuti - avatar
+ 3
To insert a link, use the <a> tag with the href attribute to indicate the address of the target page. Example: <a href="http://www.google.com"> . You can make a link to another page in your website simply by writing the file name: <a href="page2.html"> .  Linkscan also be used to jump to other places on the same page.
8th Nov 2018, 1:51 AM
Alessio Benvenuti
Alessio Benvenuti - avatar
+ 1
and to put an image inside the button?
8th Nov 2018, 2:57 AM
Neymar Silva
Neymar Silva - avatar
8th Nov 2018, 2:58 AM
Neymar Silva
Neymar Silva - avatar