-
I have tried coding in html using <img> with thier required attributes but when i run that code on a browser it does not display my image.the same problem is experienced by many of my classmates those who are using higher IE versions. HELP.0
-
Member • Feb 2, 2013
Verify the EXACT name of your file. Case Matters in HTML/The Web... and only some MS servers will let you get away with the wrong case. Other than that, if the image is in the same directory as your page, this should work.
Download attached file and extract it ! then open folder and double click on the html file ! its working on all the IE version, Chrome, Firefox, Opera And Safari.
Hope it will help !
Regards,
#-Link-Snipped-#Are you sure? This action cannot be undone. -
Member • Feb 2, 2013
Check out this link and ensure that you are doing everything right:shailaja revathiI have tried coding in html using <img> with thier required attributes but when i run that code on a browser it does not display my image.the same problem is experienced by many of my classmates those who are using higher IE versions. HELP.
<a href="https://www.w3schools.com/tags/tag_img.asp" target="_blank" rel="nofollow noopener noreferrer">HTML img tag</a>
Good Luck!!Are you sure? This action cannot be undone. -
Member • Feb 2, 2013
THANKS .it's working fine for the image in the same directory but not for the images in other files outside the directory.and another query that i have is that IE is not displaying appropriate bgcolors/textcolors/hr-color.it is showing red for blue and green for red for other colors such as yellow/orangeetc.it is displaying as black.could u please explain why is it happenning so?Are you sure? This action cannot be undone. -
Member • Feb 2, 2013
Well that is unusual. Could u post the code which is giving such responses? It would be better to get to the root problem.shailaja revathiTHANKS .it's working fine for the image in the same directory but not for the images in other files outside the directory.and another query that i have is that IE is not displaying appropriate bgcolors/textcolors/hr-color.it is showing red for blue and green for red for other colors such as yellow/orangeetc.it is displaying as black.could u please explain why is it happenning so?Are you sure? This action cannot be undone. -
Member • Feb 2, 2013
HERE'S MY CODE :rahul69Well that is unusual. Could u post the code which is giving such responses? It would be better to get to the root problem.
<HTML>
<body bgcolor="aqua" >
hello world .
protect and love animals and plants.
<hr color="green" width=550 >
<hr color="red" width=550 >
</body>
</HTML>
This problem is only with IE and not with other browers as mozilla and chrome.
and what about the image part?The link that you have provided above is known to me and it does not provide any solution to my problem with <img> elements.
THANKS for your effort about this matter.Are you sure? This action cannot be undone. -
Member • Feb 2, 2013
Which version of IE you're using? That thing works good on IE 9.shailaja revathiHERE'S MY CODE :
<HTML>
<body bgcolor="aqua" >
hello world .
protect and love animals and plants.
<hr color="green" width=550 >
<hr color="red" width=550 >
</body>
</HTML>
This problem is only with IE and not with other browers as mozilla and chrome.
and what about the image part?The link that you have provided above is known to me and it does not provide any solution to my problem with <img> elements.
THANKS for your effort about this matter.Are you sure? This action cannot be undone. -
Member • Feb 2, 2013
I am using IE6[Prototype]Which version of IE you're using? That thing works good on IE 9.Are you sure? This action cannot be undone. -
Member • Feb 2, 2013
This code works well in IE8 too, maybe the problem lies in your browser settings.shailaja revathiHERE'S MY CODE :
<HTML>
<body bgcolor="aqua" >
hello world .
protect and love animals and plants.
<hr color="green" width=550 >
<hr color="red" width=550 >
</body>
</HTML>
This problem is only with IE and not with other browers as mozilla and chrome.
and what about the image part?The link that you have provided above is known to me and it does not provide any solution to my problem with <img> elements.
THANKS for your effort about this matter.
Check that in Tools->Internet Options->General->Colors it should have Use Windows Colors as checked.
Also see that in Tools->Internet Options->General->Accessibility all the boxes are unchecked
And regarding the image part,older version of IE seems to only recognize image with its original format. For example if your image was originally in bmp format, u changed its extension to gif and then wrote src as gif , then it will not recognize your image. The solution is to again rename the extension to bmp and wrote src as bmp, then it will work. So it is better to use some other browser, or get the new version of IE. Hope it helps.😀
Good Luck!!Are you sure? This action cannot be undone. -
Member • Feb 2, 2013
HEY thanks ,in IE //* ignore colors *// was checked.Rectified it and now getting the right color.rahul69This code works well in IE8 too, maybe the problem lies in your browser settings.
Check that in Tools->Internet Options->General->Colors it should have Use Windows Colors as checked.
Also see that in Tools->Internet Options->General->Accessibility all the boxes are unchecked
And regarding the image part,older version of IE seems to only recognize image with its original format. For example if your image was originally in bmp format, u changed its extension to gif and then wrote src as gif , then it will not recognize your image. The solution is to again rename the extension to bmp and wrote src as bmp, then it will work. So it is better to use some other browser, or get the new version of IE. Hope it helps.😀
Good Luck!!
and for image here's my code and i'm still not getting it.
<html>
<body>
this is an image example.
<figure><figcaption>
fig.1 a view of an image</figure>
</body>
</html>Are you sure? This action cannot be undone. -
Member • Feb 2, 2013
shailaja revathiHEY thanks ,in IE //* ignore colors *// was checked.Rectified it and now getting the right color.
and for image here's my code and i'm still not getting it.
<html>
<body>
this is an image example.
<figure><figcaption>
fig.1 a view of an image</figure>
</body>
</html>
try usingAre you sure? This action cannot be undone. -
Member • Feb 2, 2013
yes , i got it ;but only in chrome mozilla is still not suppporting.anyway,it does'nt matter for mozilla .THANK YOU VERY MUCH .😀Techie Earthlingtry usingAre you sure? This action cannot be undone. -
Member • Feb 2, 2013
Any Time Dear Friend CEans are always ready to help you 😀shailaja revathiyes , i got it ;but only in chrome mozilla is still not suppporting.anyway,it does'nt matter for mozilla .THANK YOU VERY MUCH .😀
and I request Moderators (@#-Link-Snipped-#) to mark this Discussion as solved !😀Are you sure? This action cannot be undone. -
Member • Feb 3, 2013
For Mozilla u can use <img src="file:///C:/User/User/Desktop/Downloads/images/th (3).jpg"> .This should work in all i think.. 😀.shailaja revathiyes , i got it ;but only in chrome mozilla is still not suppporting.anyway,it does'nt matter for mozilla .THANK YOU VERY MUCH .😀Are you sure? This action cannot be undone. -
Member • Feb 3, 2013
NO it is'nt working still.i'm just leaving it and happy with chrome.rahul69For Mozilla u can use <img src="file:///C:/User/User/Desktop/Downloads/images/th (3).jpg"> .This should work in all i think.. 😀.Are you sure? This action cannot be undone.