As per the W3C recommendations, I have tried to change the IMG tag to the OBJECT tag. However, my image file refused to be displayed in Internet Explorer, while Opera and Mozilla have no such problems. Any solutions or is this a IE bug?
No one knows how MS has implemented Object in IE,your best bet will be to embed img tag in between the <object></object> tag that way browsers that recoginse object will display image and the ones that don't will see img tag
Why would one replace the img tag with object? I've never heard of that recommendation, where did you find this? It makes no sense semantically, and I don't see any advantages with using object to embed an image over img. Rather pointless...
Well, my suggestion is to continue using the <IMG> tag, since it is not yet depreciated. If the <OBJECT> method of including an image works in browsers other than IE, that suggests to me that you have coded it correctly. We all know how IE tends to render pages in a non-standard way. Perhaps this problem will be corrected in a future release of IE; personally, I do not think that it will. (That seems to be the way of Microsoft, lol)
IE does not support image as an object
Your example does not work because; object is supported, but not as image so object shows nothing. The enclosed image is not shown, because an object, if supported, should not render any enclosed elements.
A "catch 22" piece of coding.