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

Re: Valid characters for the name attribute

From: Simon Pieters <simonp@opera.com>
Date: Mon, 12 Apr 2010 08:57:57 +0200
To: public-html-comments <public-html-comments@w3.org>, "T.J. Crowder" <tj@crowdersoftware.com>
Message-ID: <op.va1eyvbkidj3kv@simon-pieterss-macbook.local>
On Sun, 11 Apr 2010 11:47:55 +0200, T.J. Crowder <tj@crowdersoftware.com>  

> 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="".



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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 June 2011 00:14:02 GMT