为什么以下不适用于IE? [英] Why the following does not work with IE ?
问题描述
您好,
我正在尝试理解为什么以下HTML页面适用于所有 以下浏览器: FireFox,Opera,Chrome,Safari,...除了Internet Explorer?
IE是否有一些特定要求?
< html>
< head>
< / head>
< body>
内联插入图片:< br>
< img src =" http://www.cyberpapy.com/download/file.php?mode = view& amp; id = 9882" >< / IMG>
< / body>
< html>
根据标准属性 SRC指定图像资源的位置。在您的示例SRC refferenced text / html资源中。
如果您需要text / html作为图像资源使用< object ...>< / object> insted< img ...>
渲染text / html 当它被引用为 IMG-SRC是非常大的安全漏洞(对于FireFox,Opera来说太多了) ,Chrome,Safari安全)。 ;)
Hello,
I'm trying to understand why the following HTML page works with all the follwing browsers : FireFox, Opera, Chrome , Safari, ... except with Internet Explorer ?
Is there some specific requirements with IE ?
<html> <head> </head> <body> Insert an image inline :<br> <img src="http://www.cyberpapy.com/download/file.php?mode=view&id=9882 " ></img> </body> <html>
According standart attribute SRC specifies the location of the image resource. In your sample SRC refferenced text/html resource.
If you need text/html as image-like resource use <object ...></object> insted <img ...>
Rendering text/html when it referenced as IMG-SRC is very large hole in security (so much for FireFox, Opera, Chrome, Safari safeties). ;)
这篇关于为什么以下不适用于IE?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!