HTML DTD - 有什么意义? [英] HTML DTDs - what's the point?

查看:102
本文介绍了HTML DTD - 有什么意义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

什么是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 - 有什么意义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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