简体   繁体   中英

Html images not working in IE10

My codes are working all browser except 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

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 charset='utf-8'>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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