简体   繁体   English

HTML图像在IE10中不起作用

[英]Html images not working in IE10

My codes are working all browser except IE10. 我的代码在除IE10之外的所有浏览器上均有效。 I mean, it's working but not showing the images. 我的意思是,它正在工作,但没有显示图像。 I tried the solution here but didn't work- IE 10 images not showing up 我在这里尝试了解决方案,但没有用-IE 10图像未显示

here are my codes- 这是我的代码-

<!DOCTYPE html>
<html>
    <head>
        <META HTTP-EQUIV="content type" content="test/html;sharset=iso-8859-1">
        <script>
            function myfun() {
                alert("you are here");
            }
        </script>
    </head>
    <body>
        <img src="next.gif" alt="image not found" onclick="myfun()" />
        <br/>NEXT
    </body>
</html>

All you need to do is to click on 'Allow blocked content' 您需要做的就是点击“允许被阻止的内容”

And, if this does not work, you could replace 而且,如果这不起作用,您可以更换

<META HTTP-EQUIV="content type" content="test/html;sharset=iso-8859-1"> with <META HTTP-EQUIV="content type" content="test/html;sharset=iso-8859-1">

<meta charset='utf-8'>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM