Html file doesnt display an image when i opened it in ma browser.what could be the reason? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Html file doesnt display an image when i opened it in ma browser.what could be the reason?

4th Oct 2021, 1:17 PM
Rio
5 Answers
+ 1
No one can tell until you can show them the code, and reveal more information, such as where you put the image (local, on the cloud), etc. If you copy that code, save it in SoloLearn and share its link in the above Description entry, your chances for answer might improve. Here's how to share a saved code ... https://www.sololearn.com/post/75089/?ref=app
4th Oct 2021, 1:42 PM
Ipang
+ 1
https://code.sololearn.com/WBUix3RH8LyJ/?ref=app My code looks like this except that i saved the photo on the same folder as my code files on my pc
4th Oct 2021, 2:51 PM
Rio
0
Okay, looks fine Have you verified the filename and extension? if the photo and the HTML document is in the same folder then there should not normally be any problem. Did browser display any error mesage?
4th Oct 2021, 3:01 PM
Ipang
0
Yes i did,it didnt show any error It jst doesnt display z image 😣
5th Oct 2021, 4:53 PM
Rio
0
Save a copy of your code in SoloLearn and then share its link here. It's hard to tell without looking at the code. https://www.sololearn.com/post/75089/?ref=app
5th Oct 2021, 8:20 PM
Ipang