HTML 5 versus XHTML 1.0 Transitional?

后端 未结 9 1693
Happy的楠姐
Happy的楠姐 2020-11-28 22:12

It seems that HTML 5 is going to be supported (partially) by Firefox 3.1 and other browsers. It is adding support for video and audio as tags, but these are new tags that XH

9条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-28 22:43

    You might be looking at the problem the wrong way because the relationship to XHTML 1.x section, HTML 5 states:

    "This specification is intended to replace XHTML 1.0 as the normative definition of the XML serialization of the HTML vocabulary."

    Now that language is controversial (the XHTML 2 WG has disputed it and the HTML WG is trying to resolve the differences...) but that's where we stand right now.

    A couple of notes:

    • HTML 5 includes an XML serialization known as XHTML 5, the spec explains the differences if you're into nitty gritty details
    • HTML is not SGML. Henri Sivonen has done a great write up on the history of HTML parsing
    • As of this time (it has been a topic of debate several times), there won't be a DTD for HTML/XHTML 5 -- the Conformance Requirements section of the spec explains why a DTD isn't suitable for defining the HTML language. The HTML 5 validator also contains a wealth of information on this topic (including RELAX NG schemas for HTML5)

提交回复
热议问题