if the w3c validator says it's OK, I'd go with that.
also, u only need [] if u want to create array fields (lists)
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
Hi,
I'm wondering if using attribute's name values with "[ ]" in them, is valid HTML5 markup. This silly doubt because as far as I know it's true we should consider for the moment HTML5 a sort of "experimental" and so even more experimental are HTML5 validators ... but actually if I run a HTML5 document syntax check using BBEdit (a Mac OS text editor probably quite famous) for every value with [ ] I get red errors with this advice ... "... Value of attribute “name” for element “<input>” must begin with one of {A-Z,a-z} followed by zero or more of {A-Z,a-z,0-9,-,_,:,.}. But this is the HTML4.01 specs about attributes (http://www.w3.org/TR/html401/types.html#h-6.2 the only one specs about this I've been able to find) ... and then, if I change the DTD using XHTML or HTML4.01 it's ok, no errors about name values ... (?!?) After all, not so clear, isn'it ?
So is it a good idea to use HTML5 document type and Forms and Formail ? I think yes, also seeing that W3C validator doesn't say anything about Value of attribute “name” ... and so on (of course having the chars [ ] in values).
Has anyone any better infos about this particular and not so exciting topic ?
if the w3c validator says it's OK, I'd go with that.
also, u only need [] if u want to create array fields (lists)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks