Re: Validates as HTML5 despite no <body> tag
Steve Faulkner <[email protected]> Tue, 5 May 2015 18:09:07 +0100
| Newsgroups | gmane.org.w3c.validator |
|---|---|
| Message-ID | <CA+ri+VkhCu5L55wPDkQthboinzvLzFWDk33rbOUBE0YQUQS2SA@mail.gmail.com> |
The body element is not required in HTML5 under certain circumstances refer to Tag omission in text/html: http://www.w3.org/TR/html5/sections.html#the-body-element note if you look at the DOM you will find the browser has added a body element even though absent in the source code -- Regards SteveF HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/> On 5 May 2015 at 17:59, Richard J. Hodgkiss <[email protected]> wrote: > Dear Sir, > > While trying to convert a web page to HTML5, I accidentally > deleted the <body> tag: > http://www.succulent-plant.com/families/dicotyledons2.html > > However, the validator repeatedly passes the page as correct HTML5. > > Regards, > > Richard Hodgkiss > > > -- > "He who does not work shall not eat" > Vladimir Ilyich Lenin 'The State and Revolution' 1917 > > ____________________________________________________________________ > | > | Dr. Richard J. Hodgkiss > | Email: [email protected] > | Direct Dial: +44-(0)208-422-9942 > | > | Home Page > | http://www.succulent-plant.com/rjhodgkiss.html > | > | The Succulent Plant Page: > | http://www.succulent-plant.com/ > |____________________________________________________________________ > >