views:

2043

answers:

3

What differences are expected of XHTML5 versus HTML5? I understand that XHTML5 is the XML form of the language and HTML5 is the SGML form of the language, which means obvious minor syntax differences. Will there be any further differences? Will XHTML5 deprecate completely worthless elements that were not deprecated by HTML5? Will XHTML5 be written in schema instead of doctype? Will XHTML5 impose structural validations instead of merely stating what is a child of what? Will XHTML5 offer accessibility advantages that not available in HTML5? Will XHTML5 offer any security enhancements?

Please share any knowledge you have about is claimed to be the future of the web?

+8  A: 

What differences are expected of XHTML5 versus HTML5?

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

I understand that XHTML5 is the XML form of the language and HTML5 is the SGML form of the language

No. HTML5 is not SGML based.

, which means obvious minor syntax differences.

No. Just some forms is syntax become forbidden.

Will XHTML5 deprecate completely worthless elements that were not deprecated by HTML5?

No. They are just different serilisations.

Will XHTML5 be written in schema instead of doctype?

There are, as far as I'm aware, not plans to have an official schema (or DTD for that matter: the doctype is "A thing to trigger standards mode in browsers" and nothing more).

Will XHTML5 impose structural validations instead of merely stating what is a child of what?

No differences from HTML5.

Will XHTML5 offer accessibility advantages that not available in HTML5?

No.

Will XHTML5 offer any security enhancements?

No.

David Dorward
XHTML is going the way of the dinosaurs …
Nerdling
HTML5 is written in doctype.
HTML5 is also an SGML grammar. I have seen these two factual errors numerous times. I can prove I correct by your inability to tell me which language HTML5 is written in. Since you are factually in error I have given you a down vote.
@austin - HTML5 is written in English! No really. In the HTML5 draft, section 2.2 describes the HTML syntax as a custom format *inspired* by SGML. However, there are a number of features of HTML5 that cannot be described by an SGML DTD (this was also true of HTML4 actually) and no attempt has been made to ensure that the HTML5 rules comply with SGML.
Alohci
+1 to counter austin's -1 based "Ad Ignorantiam" (http://en.wikipedia.org/wiki/Argument_from_ignorance)
Rob Fonseca-Ensor
“The HTML5 ‘doctype’ is not used.” Actually, the DOCTYPE is *optional* in XHTML5 (nuance, but still). However, if you want to use it, it must be written with ‘DOCTYPE’ in uppercase: `<!DOCTYPE html>`. More info here: http://mathiasbynens.be/notes/xhtml5
Mathias Bynens
+5  A: 

http://wiki.whatwg.org/wiki/HTML%5Fvs.%5FXHTML is an attempt to document the differences between HTML5 and XHTML5. As far as I know it is the best available resource on this subject to date.

Anne
A: 

Isn't XHTML effectively dead? I don't see why this is even a question.

gmiernicki
Don't see why this was down voted.... XHTML 2.0 was killed off in favor of HTML5 recently...hence, what I was saying has value :P
gmiernicki
XHTML5 is HTML5 in xml, so, technically, XHTML is far from dead. You are right, however, that XHTML 2.0 is dead (XHTML5 is very different from XHTML 2)
Brad Cupit
The names do get a bit confusing.
Paul D. Waite
XHTML is effectively dead as far as serving it as a web page. XHTML 2.0 in general is also pretty useless as there's no HTML equivalent. But you shouldn't discount other possible uses for XHTML. It still has uses in non-web contexts. For example, you may have an application where you want to store or transmit HTML embedded in an XML document for some reason. And it's easy to convert it back to HTML if you want to deliver it on the web.
thomasrutter
Probably down voted because the question is "What differences are expected of XHTML5 versus HTML5?" not "Should I use XHTML5?".
David Dorward