Why use X-UA-Compatible IE=Edge anymore?

前端 未结 3 1478
盖世英雄少女心
盖世英雄少女心 2020-12-02 05:13

I\'ve taken several online courses lately and I still see some instructors add the following meta tag to the top of their documents by default:



        
3条回答
  •  自闭症患者
    2020-12-02 05:34

    As long as it is set to “Edge” it validates as HTML5, and I'm told it only causes IE to re-render the page if the site was already rendering it in Compatibility mode. Still, putting it in the server config (.htaccess, etc.) is better than putting in the HTML of each page.

提交回复
热议问题