[whatwg] <html>, <head> and <body> tag

On 19/02/2012 00:24, Keefe Tang wrote:
> The<html>,<head>  and<body>  tag has been optional since HTML4
> (http://www.w3.org/TR/html4/struct/global.html) and I was wondering
> if it is still the case with HTML5 since it no longer specify that
> the tags are optional on the current HTML5 spec page
> (http://www.w3.org/TR/html5/semantics.html#the-html-element).

The <html>, <head> and <body> start and end tags can be omitted in 
certain circumstances. See 
http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#optional-tags 
for details.

Alex

-- 
Alex Bishop
alexbishop at gmail.com

Received on Saturday, 18 February 2012 16:52:46 UTC