How to use HTML5 in IE 7?

前端 未结 8 1339
长发绾君心
长发绾君心 2021-02-08 11:24

I was wondering whether there is a way to make html5 code visible in Internet Explorer 7 or less.

For example

相关标签:
8条回答
  • 2021-02-08 12:23

    There are 2 important things to consider before using HTML5;

    1. Target audience (with their browser choice)
    2. HTML5 Useful features on your site.

    If you are sure that a lot of your users are on IE8 and below, you should avoid using HTML5 almost entirely.

    So when you say "is it too early to use HTML5 yet", the answer is it depends on your user base. IE has good support for HTML5 only from version 9 and above..

    There is no way by which you can make HTML5 advanced features to work on IE7/8...The html5.js you referred to just makes your CSS to "not ignore" any HTML5 elements and apply styling..It does not do anything further than that..

    For all major browser support and score, you can check out html5test.com

    Apart from that, you may also check out a very nicely explained tutorial on HTML5 called as DesignMobileWeb available on http://itunes.apple.com/in/app/designmobileweb/id486198804?mt=8

    Please do remember that if you are going to have a basic site, using HTML5 should be avoided. You should consider HTML5 only if you plan to use Local Storage, Offline Access and HTML5 Forms for mobile devices, etc

    0 讨论(0)
  • 2021-02-08 12:26

    This is very old... Damn... But I guess this could help someone, though

    I used this meta

    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

    And fixed everything without using any more scripts...

    Found it here: http://www.validatethis.co.uk/news/fix-bad-value-x-ua-compatible-once-and-for-all/

    0 讨论(0)
提交回复
热议问题