W3C home > Mailing lists > Public > www-validator@w3.org > February 2007

Re: Form name complaint on HTML 4.0 Trans

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Tue, 27 Feb 2007 17:23:09 -0500
Message-ID: <45E4AF4D.8030707@metalab.unc.edu>
To: David Dorward <david@dorward.me.uk>
CC: "Angelos (Exevior.com)" <Angelos@exevior.com>, www-validator@w3.org

David Dorward wrote:
> Angelos (Exevior.com) wrote:
>> The Validator complaint about the form name I used. Check this 
>> website: http://www.exevior.com
>> The <form name="f"
> And so it should.
> http://www.w3.org/TR/1998/REC-html40-19980424/interact/forms.html#edef-FORM
> I can't see a name attribute there.

The name attribute of the form element went back in in 4.0.1. XHTML 1.0 
transitional allows it. XHTML 1.0 strict does not. This is from the 
transitional DTD:

<!ATTLIST form
   action      %URI;          #REQUIRED
   method      (get|post)     "get"
   name        NMTOKEN        #IMPLIED
   enctype     %ContentType;  "application/x-www-form-urlencoded"
   onsubmit    %Script;       #IMPLIED
   onreset     %Script;       #IMPLIED
   accept      %ContentTypes; #IMPLIED
   accept-charset %Charsets;  #IMPLIED
   target      %FrameTarget;  #IMPLIED

´╗┐Elliotte Rusty Harold  elharo@metalab.unc.edu
Java I/O 2nd Edition Just Published!
Received on Tuesday, 27 February 2007 22:23:19 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 November 2015 11:01:29 UTC