W3C home > Mailing lists > Public > public-html-data-tf@w3.org > December 2011


From: Ivan Herman <ivan@w3.org>
Date: Tue, 20 Dec 2011 16:26:37 +0100
Cc: HTML Data Task Force WG <public-html-data-tf@w3.org>
Message-Id: <5936C657-1F84-4ECD-9E55-B35E26D81B01@w3.org>
To: Henri Sivonen <hsivonen@iki.fi>

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?


> -- 
> 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:08:26 UTC