XHTML 和 DHTML 有什么区别?

发布于 2024-10-18 02:02:13 字数 62 浏览 2 评论 0原文

分别阅读两者,看起来是一样的,html+xml+javascript。

那有什么区别呢?有吗?

Reading about both separatedly, looks like the same, html+xml+javascript.

What's the difference between then? Is there any?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

逆光下的微笑 2024-10-25 02:02:13

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')

心头的小情儿 2024-10-25 02:02:13

不,两者都不是 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.

你げ笑在眉眼 2024-10-25 02:02:13
  1. XHTML 是一种基于 XML 语言的方言,而 DHTML 不是方言或语言,而是其他技术的集合。
  2. 两者的创建都是为了向 HTML 提供附加功能和交互性。
  3. DHTML 仍然以 HTML 为核心,并受到与 HTML 相关的困扰。问题
  4. XHTML 更加精简且更易于编码,因为它符合 XML
  5. DHTML 已经过时并已被其他技术取代,

请查看这篇文章:
http://www.difference Between.net/technology/difference- Between- dhtml-和-xhtml/

  1. XHTML is a dialect that is based on the XML language while DHTML is not a dialect or a language but a collection of other technologies
  2. Both were created to provide additional features and interactivity to HTML
  3. DHTML still uses HTML at its core and is plagued with HTML related problems
  4. XHTML is more streamlined and easier to code with because of its conformance to XML
  5. DHTML is already outdated and has been replaced by other technologies

take a look to this post:
http://www.differencebetween.net/technology/difference-between-dhtml-and-xhtml/

╰沐子 2024-10-25 02:02:13

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文