Why is my image not showing | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
8th Dec 2018, 9:07 PM
Alandec
12 Answers
+ 4
Well, remember only that if url dont point to an image, you cannot see nothing... Test always on browser
8th Dec 2018, 11:35 PM
KrOW
KrOW - avatar
+ 3
Can you tell me what you are searching?
8th Dec 2018, 9:52 PM
KrOW
KrOW - avatar
+ 1
Because the url in img src, dont point to an image resource but to an web page
8th Dec 2018, 9:15 PM
KrOW
KrOW - avatar
+ 1
Yes... Try to copy and paste it in any web browser and you will see that a web page (and not an image) will open
8th Dec 2018, 9:19 PM
KrOW
KrOW - avatar
+ 1
You have to get the url of the image (usually clicking with right mouse button, view/copy image adress/url) and paste it like src attribute value inside img tag
8th Dec 2018, 9:28 PM
KrOW
KrOW - avatar
+ 1
That wasn't the image I was looking for,but it helped me to get where I wanted,thanks a lot
8th Dec 2018, 11:31 PM
Alandec
0
The URL I entered is web site
8th Dec 2018, 9:16 PM
Alandec
0
I'm getting kind of lost,sorry for that,I'm a beginner,so that should work running on a web browser or there's something I'm missing?
8th Dec 2018, 9:23 PM
Alandec
0
Tried and didn't work... Don't know if it's cause is an image form Google or I'm doing something wrong
8th Dec 2018, 9:35 PM
Alandec
0
An image from a clothing store,is basically the logo of it,a donut
8th Dec 2018, 9:54 PM
Alandec
0
Yep,that one worked,you just copied the link from a web browser,by the way, maybe I should've mentioned that I'm writing the code form my cell
8th Dec 2018, 10:58 PM
Alandec