HTML5锅炉板—“HTML5锅炉板”;浏览“快乐”;消息
我正在使用HTML5锅炉板,并使用开发工具测试IE中的“浏览快乐”消息。当我切换到IE7模式时,我没有看到要求更新浏览器的消息,我仍然看到Hello world。。。为什么?HTML5锅炉板—“HTML5锅炉板”;浏览“快乐”;消息,html,html5boilerplate,Html,Html5boilerplate,我正在使用HTML5锅炉板,并使用开发工具测试IE中的“浏览快乐”消息。当我切换到IE7模式时,我没有看到要求更新浏览器的消息,我仍然看到Hello world。。。为什么? <!--[if lt IE 7]> <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browseh
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<!-- Add your site or application content here -->
<header>This is a header</header>
<p>Hello world! This is HTML5 Boilerplate.</p>
这是一个标题
你好,世界!这是HTML5样板
此更改
如果您想让IE7显示它,您需要将注释更改为
如果您想让IE7显示它,您需要将注释更改为您是对的,它现在可以工作了。