I am using following simple HTML :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<body>
<img src="loading.gif" alt="MISSING GIF">
<img src="j.JPG" alt="MISSING JPG">
</body>
</html>
loading.gif
and j.jpg
are present in same directory as html file. loading.gif
is displayed fine in ie 8 but j.jpg
doesn't load.
When I use firefix, both images display correctly.
Please help
Check that JPG
file extension is uppercase in the file system. I suspect that it is lowercase. Also be sure to close the image tag.
<img src="j.jpg" alt="MISSING JPG"/>
<img src="loading.gif" alt="MISSING GIF">
will be like this
<img id="ImgEmployee" src="Photos/loading.gif" alt="MISSING GIF" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With