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

Re: RDFa in HTML vs XHTML

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 20 Dec 2011 16:12:34 +0200
Message-ID: <CAJQvAudDMOgcz5f=jzPLq4H9RH3XTqxwitBSzA2-7N_Y5uzurA@mail.gmail.com>
To: HTML Data Task Force WG <public-html-data-tf@w3.org>
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.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Tuesday, 20 December 2011 14:13:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 20 December 2011 14:13:02 GMT