On Wed, February 1, 2006 2:52 pm, David Dorward wrote:
> Robert Cummings wrote:
>
>> <input type="text"  name="xname[]" value="n..."
>>
>> I also took the liberty of adding double quotes to your attributes.
>> There's no excuse for writing slop.
>
> Slop?
>
>   authors may specify the value of an attribute without any quotation
>   marks. The attribute value may only contain letters (a-z and A-Z),
>   digits (0-9), hyphens (ASCII decimal 45), periods (ASCII decimal
> 46),
>   underscores (ASCII decimal 95), and colons (ASCII decimal 58).
>
>     -- http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2

You stopped quoting too soon:

"We recommend using quotation marks even when it is possible to
eliminate them."
     -- http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to