How can we copy link for image ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How can we copy link for image ?

I have copy link and paste it on <omg src="link" >. But it donot dispaly image in html . why??

1st Jul 2018, 1:06 PM
Anish Poudel
Anish Poudel - avatar
4 Answers
+ 5
if the link doesn't end with .png,.gif,.svg or any valid image extension, youre copying the wrong thing
1st Jul 2018, 2:49 PM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 4
try <img src="url" alt=""/> 😊
1st Jul 2018, 1:32 PM
Tony
Tony - avatar
+ 3
Hello, Anish Poudel ! Most likely, you have incorrectly written the link. Please attach your code here, and then people will be able to help you.
1st Jul 2018, 1:30 PM
Alexander Sokolov
Alexander Sokolov - avatar
0
well, make sure that your external link for the image is correct inside the src attribute. That is, as long as your image is being hosted on a server. Example: <img src="http://example.com/image.jpg" alt="my image" />
1st Jul 2018, 2:58 PM
Josh
Josh - avatar