W3C home > Mailing lists > Public > public-html@w3.org > April 2008

Syntax: omitting <html> when it's followed by whitespace

From: Simon Pieters <simonp@opera.com>
Date: Sat, 05 Apr 2008 21:04:42 +0200
To: public-html <public-html@w3.org>
Message-ID: <op.t85i94ctidj3kv@hp-a0a83fcd39d2.belkin>

Syntax, optional tags:

"An html element's start tag may be omitted if the first thing inside the  
html element is not a space character or a comment."

The parser changed to drop space characters after <html>, and so the  
<html> tag should be allowed to be omitted even if the first thing inside  
the html element is a space character.

-- 
Simon Pieters
Opera Software
Received on Saturday, 5 April 2008 19:05:24 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:54 UTC