XHTML 和 DHTML 有什么区别?
分别阅读两者,看起来是一样的,html+xml+javascript。
那有什么区别呢?有吗?
Reading about both separatedly, looks like the same, html+xml+javascript.
What's the difference between then? Is there any?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
XHTML 是一个 w3c 标准,一种严格遵循 XML 的 HTML 形式。
DHTML 是一个基本上已弃用的术语(它是“动态 HTML”的缩写),它是在第一个早期的静态网站开始引入客户端脚本以使页面更加“动态”。没有人再真正谈论 DHTML(该术语已被“ajax”、“web 2.0”和“web 应用程序”取代)
XHTML is a w3c standard, a form of HTML that also strictly conforms to XML.
DHTML is a largely deprecated term (it is short for 'Dynamic HTML') which was introduced when the first early static web sites started introducing client side scripting to make the page more 'dynamic'. Nobody really talks in terms of DHTML any more (the term got superseded by 'ajax', and 'web 2.0', and 'web app')
不,两者都不是 HTML + XML + Javascript。
XHTML 是 HTML(也是 XML)
它只是 HTML 的一种方言,符合 XML 的语法规则。 Javascript 不是 XHTML 规范(或任何 HTML 规范)的一部分。
DHTML 是 HTML + Javascript
它代表动态 HTML,Javascript 添加了动态部分。 HTML 部分也可以是方言 XHTML。
No, neither one is HTML + XML + Javascript.
XHTML is HTML (but also XML)
It's just a dialect of HTML that conforms to the syntax rules of XML. Javascript is not part of the XHTML specification (or any HTML specification).
DHTML is HTML + Javascript
It stands for Dynamic HTML, and Javascript adds the dynamic part. The HTML part can also be the dialect XHTML.
请查看这篇文章:
http://www.difference Between.net/technology/difference- Between- dhtml-和-xhtml/
take a look to this post:
http://www.differencebetween.net/technology/difference-between-dhtml-and-xhtml/
DHTML是动态HTML,意味着html的内容变得动态并且不时变化,并且不需要开发人员在一次创建语言后再次进行。
XHTML 广泛的 HTML 意味着这也使用 XML ,简单的是在 XML 中您可以构建自己的标签并在您的项目或文件中使用。
DHTML is dynamic HTML, means the contents of html becomes dynamic and changes time to time and did not require developer again after one time creation of language.
XHTML extensive HTML means this is also uses XML , simple is that in XML you can build your own tags and used in your project or file.