为什么HTML5和XHTML 2分离标准? [英] Why are HTML5 and XHTML 2 separate standards?

查看:104
本文介绍了为什么HTML5和XHTML 2分离标准?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这两个标准分别开发的原因是什么?他们似乎正在解决同样的问题,但有什么区别,如果他们保持分离,他们将来会在网站开发中发挥什么样的作用? 解决方案

浏览器供应商非常关心向后兼容性。注意XHTML2并没有解决HTML5正在解决的所有问题。XHTML2并不支持这个功能。

HTML5的范围比XHTML2广泛得多。 HTML5涵盖了处理模型,JavaScript API,视频,音频,应用程序部件等,但XHTML2没有。

关于预期的角色,来自顶级浏览器供应商的代表参与HTML工作组,但不在XHTML2工作组中。另一方面,对Backplane表现出兴趣的人士正在参与XHTML2 WG。 David Baron关于W3C如何运作的帖子


Is there a reason why these two standards are being developed separately? They seem to be solving the same problem but what are the differences and, if they are to remain separate, what roles are they expected to take in web development in the future?

解决方案

Browser vendors care a great deal about backwards compatibility. The group speccing XHTML2 didn’t.

Note that XHTML2 isn’t solving all the same problems HTML5 is solving. HTML5 is much broader in scope than XHTML2. HTML5 covers processing models, JavaScript APIs, video, audio, application widgets, etc. but XHTML2 does not.

As for expected roles, representatives from top browser vendors participate in the HTML WG but not in the XHTML2 WG. On the other hand, people showing interest in the "Backplane" are participating in the XHTML2 WG.

See also David Baron’s post about how the W3C works.

这篇关于为什么HTML5和XHTML 2分离标准?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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