I'm having trouble adding an image from the internet into my html code. It's still displaying the alt text instead | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I'm having trouble adding an image from the internet into my html code. It's still displaying the alt text instead

This is the code I used <img src="images.app.goo.gl/LgbXv7WCzHvUsK2XA/ >

4th Aug 2022, 7:09 AM
Joshua Ukaka
Joshua Ukaka - avatar
2 Answers
+ 2
You missing quote at end of img tag, and img tag is self closening so end with /> If you fix this you will have "icon" or alt text because img url is not valid, most images end with .jpg, .png your dont have this so check link.
4th Aug 2022, 8:51 AM
PanicS
PanicS - avatar
+ 1
Goto https://nihalanangoor.github.io/image-to-dataurl/ Upload your image.... You'll get a dataURL.you can use that url instead of image link. OR Goto https://imgbb.com/ Upload your Image ... You'll get a link which can be used!
4th Aug 2022, 1:32 PM
Mohammed Nihal
Mohammed Nihal - avatar