Hope all are fine.
This code below is in notepad
My code is as below and i am not able to display JPEG image the file and the image are in same folder


Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
B M SuchitraPosted Apr 20, 2013, 1:15 AM
The image does not get displayed in mozilla at all.. Please have a look at the code given below along with files attached.. Where am i going wrong?
Javeed M ShaikhPosted Apr 20, 2013, 12:24 AM
B M SuchitraPosted Apr 19, 2013, 9:21 PM
Please find the image attached..
Javeed M ShaikhPosted Apr 19, 2013, 11:06 AM
B M SuchitraPosted Apr 16, 2013, 10:14 PM
Its a .jpeg image. But not getting displayed in IE nor mozilla nor chrome. The file name is correct and i hope my code above is correct...
Please help i am still stuck
Javeed M ShaikhPosted Apr 16, 2013, 11:52 AM
I tried your code and changed the image name to the one i have and browse the page in IE, the output showed me the image, so i am sure that the image name you are passing is incorrect are you sure it is .jpeg and not .jpg
B M SuchitraPosted Apr 16, 2013, 11:32 AM
I have the image and the html file in the web folder in E drive.. Since image is in same folder i did not mention full path..
Javeed M ShaikhPosted Apr 16, 2013, 10:23 AM
1. Image name is correct including the extension as mentioned in the html.
2. The image location is correct in the html, check the image exist at the same location where you HTML file is, other change the code to src="folder\imagename.jpg"