W3C home > Mailing lists > Public > www-validator@w3.org > March 2012

Optional Html Tag

From: Ben Ellis <ben@collstream.co.uk>
Date: Tue, 20 Mar 2012 04:12:29 -0500
Message-ID: <408C2900AAA7FE45B0F89CD465649EBB0237C386@34093-C8-EVS1.exchange.rackspace.com>
To: <www-validator@w3.org>
All,

 

                Which statement is correct?

 

1.       A HTML 5 document MUST have an html element open and close tag.

2.       A HTML 5 document SHOULD have an html element open and close
tag.

3.       A HTML 5 document MAY have an html element open and close tag.

 

                I glanced at the specification and it states that it
MUST contain an HTML tag, but the W3C validator and most browsers will
successfully parse an HTML document without an HTML tag.

 

                Regards,

 

Ben Ellis

Developer

 

phone:   0844 559 2345

email:      ben@collstream.co.uk <mailto:ben@collstream.co.uk> 

website: www.collstream.co.uk <http://www.collstream.co.uk/> 

 

  <http://www.collstream.co.uk/>       

 

This email and its attachments may be confidential and are intended
solely for the use of the individual to whom it is addressed. Any views
or opinions expressed are solely those of the author and do not
necessarily represent those of Collstream Ltd.  If you are not the
intended recipient of this email and its attachments, you must take no
action based upon them, nor must you copy or show them to anyone.
Please contact the sender if you believe you have received this email in
error.  Registered office: Collstream Ltd, Brunel Parkway, Pride Park,
Derby, DE24 8HR.  Registered in England and Wales: 5468761

 





image001.gif
(image/gif attachment: image001.gif)

Received on Tuesday, 20 March 2012 16:18:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:50 GMT