Started the courses with HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Started the courses with HTML

I have the image file saved in the same folder as my HTML codes, now my question is..Why cant it show in my blog? The name of the picture is the same as the code written..Am I missing something? This is the code: <img src="Emilio.jpg" alt=""/>

18th Oct 2019, 3:06 AM
Gomez463
Gomez463 - avatar
3 Answers
+ 3
According to what you've described (an offline page trying to show a local image), nothing appears to be wrong. It's a little hard to deduce the problem based on only what is given. Perhaps a screenshot of your project folder contents will shed more light on the issue you are facing. As of now, I would suggest making sure that your image is really within the same folder as your .html file. myBlog |- myPage.html |- Emilio.jpg Also check if you can view filename extensions. There is a possibility that you are naming the picture as "Emilio.jpg", resulting in the full file identifier being "Emilio.jpg.jpg".
18th Oct 2019, 3:50 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
Thank you, that was my mistake, the naming of the picture with the .jpg! I renamed it only Emilio and it worked. Thank you so much.
18th Oct 2019, 8:57 PM
Gomez463
Gomez463 - avatar
0
https://gyazo.com/11bf047c70193616a8c7fdac7c0cc185 This is what I see.. I am a little confused...
18th Oct 2019, 3:26 AM
Gomez463
Gomez463 - avatar