W3C home > Mailing lists > Public > www-validator@w3.org > April 2013

Re: Error in validator, missing starting <body> tag passes the validation process

From: Michael[tm] Smith <mike@w3.org>
Date: Tue, 23 Apr 2013 16:39:04 +0900
To: Julio Meca Hansen <julio@refineriaweb.com>
Cc: "Jukka K. Korpela" <jkorpela@cs.tut.fi>, www-validator@w3.org
Message-ID: <20130423073903.GB19577@sideshowbarker>
"Jukka K. Korpela" <jkorpela@cs.tut.fi>, 2013-04-23 09:22 +0300:

> 2013-04-22 15:12, Julio Meca Hansen wrote:
> >I’ve discovered what I think it’s an error in the HTML5 validator.
> >Omitting the starting <body> tag makes a web page (using the direct
> >input validator) go valid.
> The start tag <body> has always been optional in HTML, except for XHTML,
> which this is not about. So there is no error.

Yup. And note that to help make the tag-omission rules more clear, all the
element sections in the HTML spec were recently updated to include
tag-omission information at point of use; for example:


Michael[tm] Smith http://people.w3.org/mike
Received on Tuesday, 23 April 2013 07:39:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:08 UTC