gpt4 book ai didi

html - xhtml 1.0 strict 和 xhtml 1.1 有什么区别?

转载 作者:搜寻专家 更新时间:2023-10-31 02:25:17 24 4
gpt4 key购买 nike

xhtml 1.1 是 xhtml 1.0 的演变,对吗?所以我想知道它们之间的主要区别是什么。我一直在使用 xhtml 1.0 strict 一段时间,但是如果有改进,我想知道它是否有更好的东西。

obs:有几个问题看起来像这个问题,但其中大部分是关于 html 与 xhtml 或过渡与严格的。我希望您不要认为这是重复的(如果是,我找不到)。

谢谢。

最佳答案

看看 official documentation from the W3C或者为了您的方便:

This Appendix describes the differences between XHTML 1.1 and XHTML 1.0 Strict. XHTML 1.1 represents a departure from both HTML 4 and XHTML 1.0. Most significant is the removal of features that were deprecated. In general, the strategy is to define a markup language that is rich in structural functionality, but that relies upon style sheets for presentation.

The differences can be summarized as follows:

On the "a" and "map" elements, the "name" attribute has been removed in favor of the "id" attribute (as defined in [XHTMLMOD]).

The "ruby" collection of elements has been added (as defined in [RUBY]).

关于html - xhtml 1.0 strict 和 xhtml 1.1 有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6479439/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com