Help! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 20

Help!

How do I add an image in HTML, because I have added img and the link but it shows a blank box! ?????????????????🥺

9th Jun 2019, 3:47 PM
PeculiarP
PeculiarP - avatar
10 Answers
+ 102
PeculiarP , you cannot use that link in SRC attributes because it takes you to the Google search page NOT to the actual image. Get the download link of the picture, copy it and then use it in your code. I pasted the link here 😉: https://image.shutterstock.com/image-vector/cute-unicorn-portrait-beautiful-rainbow-260nw-1156832074.jpg
10th Jun 2019, 9:08 PM
🇺🇦 Vitya 🇺🇦
🇺🇦 Vitya 🇺🇦 - avatar
+ 14
Yes check this code and click the link for practical videos https://code.sololearn.com/W83WP9y3e0wq/?ref=app
9th Jun 2019, 3:58 PM
Hëllo Wörld🔰
Hëllo Wörld🔰 - avatar
+ 7
If u want to set the picture from internet for background body{ background-image:URL("------"); }
10th Jun 2019, 4:41 AM
M.MANIVANNAN
M.MANIVANNAN - avatar
+ 6
Store Ur image in Dropbox or some of the online storage websites.then copy the direct link of the image then paste in the IMG tag definitely it will work
9th Jun 2019, 6:08 PM
M.MANIVANNAN
M.MANIVANNAN - avatar
9th Jun 2019, 6:58 PM
PeculiarP
PeculiarP - avatar
+ 5
Here is my code pure image mapping from Google https://code.sololearn.com/WyBHu6rU59fJ/?ref=app
10th Jun 2019, 4:39 AM
M.MANIVANNAN
M.MANIVANNAN - avatar
+ 5
Vitya problem is solved but one more problem here in downside of image shutterstock.com name is coming then how to remove that name ?
23rd Jun 2019, 5:44 PM
Sayyam Jain
Sayyam Jain - avatar
+ 3
If you would put the code here, i can probably check and see what's wrong.
9th Jun 2019, 4:42 PM
Ginfio
Ginfio - avatar
+ 1
PeculiarP , this is what you need: https://code.sololearn.com/W9yEkFONUI2Q/?ref=app You just didn't copy the right link.
10th Jun 2019, 9:51 PM
Ginfio
Ginfio - avatar
14th Mar 2020, 7:24 PM
Eseosa Osasu
Eseosa Osasu - avatar