What differences are expected from XHTML5 and HTML5?

What are the differences from XHTML5 and HTML5? I understand that XHTML5 is an XML form of the language, and HTML5 is an SGML form, which means obvious minor differences in syntax. Will there be any further differences? Will XHTML5 invalidate completely useless elements that weren't deprecated in HTML5? Will XHTML5 be written in schema instead of doctype? Will XHTML5 impose structural checks instead of just indicating what is the child of what? Will XHTML5 offer accessibility benefits not available in HTML5? Will XHTML5 offer any security improvements?

Do you share with any knowledge you speak of about the future of the Internet?

+44
html standards html5 accessibility
Sep 12 '09 at 15:37
source share
2 answers

http://wiki.whatwg.org/wiki/HTML_vs._XHTML is an attempt to document the differences between HTML5 and XHTML5. As far as I know, this is the best available resource on this issue to date.

+23
Sep 12 '09 at 23:37
source share

What differences are expected from XHTML5 and HTML5?

HTML5 "doctype" is not used. The xmlns attribute is required.

I understand that XHTML5 is an XML form language and HTML5 is an SGML form language

No. HTML5 is not based on SGML.

which means obvious minor syntax differences.

No. Only certain forms of syntax become illegal.

Will XHTML5 invalidate completely useless elements that would not be obsolete HTML5?

No. These are just different serializations.

Will XHTML5 be written in schema instead of doctype?

There are, as far as I know, there are no plans to have an official scheme (or DTD, for that matter: doctype is β€œa thing to launch standard mode in browsers” and nothing more).

Will XHTML5 impose structural checks instead of just indicating what a child is and what?

No differences from HTML5.

Will XHTML5 offer accessibility benefits not available in HTML5?

No.

Will XHTML5 offer any security improvements?

No.

+32
Sep 12 '09 at 15:54
source share



All Articles