可能重复: 什么是html中的doctypes,它们是什么意思? $ b
对于Web开发的某些方面(我一直比后台更注重后端),对于这方面的经验还不够熟练,任何人都可以给我一些想法是否应该担心在网页开始时发布的DOCTYPE声明?
是最常见的HTML 4.01吗?我应该建立我的web应用程序以符合此标准吗?
解决方案John Resig(jQuery)在这件事上有发言权。此外,DocType有助于使MSIE6 使用正确的框模型 ,它也减轻了验证你的网站的痛苦(这是一个很好的开发的事情;认为它是调试)。
Possible Duplicate: What are the different doctypes in html and what do they mean?
Being fairly inexperienced with certain aspects of web development (I've always concentrated more on the back-end than the front), can anyone give me their thoughts on whether I should worry about the DOCTYPE declaration made at the beginning of web pages?
Is the most common HTML 4.01 and should I build my web apps to conform to this standard?
解决方案John Resig (jQuery) has a say in that matter. Additionally, a DocType helps make MSIE6 use the right box model, and it also eases the pain of validating your site (this is a good thing for development; think of it as debugging).
更多推荐
HTML DTD
发布评论