W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] Start Tag Syntax

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 06 Dec 2006 11:04:20 +0100
Message-ID: <op.tj4t9inu64w2qv@id-c0020.oslo.opera.com>
On Wed, 06 Dec 2006 10:50:29 +0100, Alexey Feldgendler  
<alexey at feldgendler.ru> wrote:
>> 3. The start tag may have a number of attributes, the syntax for which
>>     is described below. Attribute names must be separated from the tag
>>     name or a preceding unquoted attribute value, and should be  
>>     separated
>>     from a preceding quoted attribute value, by one or more space
>>     characters.
>
> Must be separated from a preceding valueless attribute as well.

Why?

   <p title=""id="test">

... is fine in in HTML. As is the equivalent with ' instead of ".


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Wednesday, 6 December 2006 02:04:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC