W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2015

[Bug 27921] Full documents without root <html> validate

From: <bugzilla@jessica.w3.org>
Date: Fri, 06 Feb 2015 22:17:24 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-27921-169-pJSslSrmn1@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27921

Michael[tm] Smith <mike@w3.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |mike@w3.org
         Resolution|---                         |WORKSFORME

--- Comment #1 from Michael[tm] Smith <mike@w3.org> ---
The start tag and end tag for the html element can be omitted.
See http://www.w3.org/TR/html5/semantics.html#the-html-element

The start tags and end tags for the body and head elements can be omitted also,
so the following is also a valid full document:

  <!DOCTYPE html>
    <title>Invalid</title>
    <p>Hello world</p>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 6 February 2015 22:17:39 UTC

This archive was generated by hypermail 2.3.1 : Friday, 6 February 2015 22:17:40 UTC