[whatwg] Start Tag Syntax

Alexey Feldgendler alexey at feldgendler.ru
Wed Dec 6 02:27:30 PST 2006


On Wed, 06 Dec 2006 16:04:20 +0600, Anne van Kesteren <annevk at opera.com> 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 ".

Under "valueless" I mean the case when there is no value, not even an empty one, and no equals sign, like this:

<input disabled type="text">

Here, whitespace is required between "disabled" and "type".


-- 
Alexey Feldgendler <alexey at feldgendler.ru>
[ICQ: 115226275] http://feldgendler.livejournal.com



More information about the whatwg mailing list