Re: RDFa in HTML vs XHTML

On Dec 20, 2011, at 15:12 , Henri Sivonen wrote:

> On Tue, Nov 15, 2011 at 2:53 PM, Jeni Tennison <jeni@jenitennison.com> wrote:
>> I think it's only a problem for HTML and XHTML5 as I believe that XHTML1 wouldn't be valid XHTML if it lacked the start and end tag for <head> and <body> (and there are so many problems with embedding data in invalid (X)HTML that I wouldn't think of those as spec bugs). I'd have to check though…
> 
> The lack of any of <head>, </head>, <body> or </body> tags is invalid
> in XHTML5, too. The head and body elements are required and there are
> no implied tags in the XML serialization.

Thanks Henri, it is good to know that (it was not obvious for me either).

However... it is correct, isn't it, that <head> or <body> may be missing in HTML5 (ie, not XHTML5), right?

Ivan


> 
> -- 
> Henri Sivonen
> hsivonen@iki.fi
> http://hsivonen.iki.fi/
> 


----
Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Tuesday, 20 December 2011 15:26:40 UTC