Re: Valid characters for the name attribute

On Sun, 11 Apr 2010 11:47:55 +0200, T.J. Crowder <tj@crowdersoftware.com>  
wrote:

> Hi all,
>
> Does the HTML5 specification loosen the rules for the valid values in the
> name attribute on form elements? The 4.01 specification said[1]:
>
> ID and NAME tokens must ...

FWIW, HTML4 does not use the NAME token forn name="".

http://www.w3.org/TR/html4/interact/forms.html#adef-name-INPUT

http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#attr-fe-name

AFAICT, HTML4 says anything goes in name="", while HTML5 bans the empty  
string, so HTML5 actually makes the rules slightly stricter.

-- 
Simon Pieters
Opera Software

Received on Monday, 12 April 2010 06:58:38 UTC