HTML 5 Doctype和IE 6 [英] HTML 5 Doctype and IE 6

查看:97
本文介绍了HTML 5 Doctype和IE 6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 <!DOCTYPE html>我经常在我看到的一些页面上看到这个doctype声明。 

我做了一些软研究,这是HTML 5 doctype声明。现代浏览器可以解释这一点,并将强制在标准模式下运行。



我的问题是,我的一些目标用户仍在使用IE6。当我宣布这样的doctype声明时,IE6将如何回应。?



在这种情况下我会获得任何利益或损失吗?



谢谢。

解决方案

简答:HTML5 doctype在IE6中运行良好。



更长的答案:请参阅 Henri Sivonen对不同文档类型对不同浏览器的影响的综合研究


I often see this doctype declaration on some pages that I am viewing

<!DOCTYPE html>

I made some soft research and this is HTML 5 doctype declaration. Modern browsers can interpret this and would force to operate on Standards Mode.

My question is, some of my target users are still using IE6. How will IE6 responds when I declare such doctype declaration.?

Will I gain any benefit or loss in that case?

Thanks.

解决方案

Short answer: the HTML5 doctype works fine in IE6.

Longer answer: see Henri Sivonen's comprehensive research of the effects of different doctypes on different browsers.

这篇关于HTML 5 Doctype和IE 6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆