Re: bug: <FORM name= ...> in HTML 4.01 Transitional

* Serguei Trouchelle wrote:
>Validator.w3.org says that "name" attribute doesn't exist in <FORM> in
>HTML 4.01 Transitional. DTD and HTML specification (17.3) says that
>"name" is implied.
>
><!ELEMENT FORM - - (%flow;)* -(FORM)   -- interactive form -->
><!ATTLIST FORM
>  %attrs;                              -- %coreattrs, %i18n, %events --
>  action      %URI;          #REQUIRED -- server-side form handler --
>  method      (GET|POST)     GET       -- HTTP method used to submit the form--
>  enctype     %ContentType;  "application/x-www-form-urlencoded"
>  accept      %ContentTypes; #IMPLIED  -- list of MIME types for file upload --
>  name        CDATA          #IMPLIED  -- name of form for scripting --
>  onsubmit    %Script;       #IMPLIED  -- the form was submitted --
>  onreset     %Script;       #IMPLIED  -- the form was reset --
>  target      %FrameTarget;  #IMPLIED  -- render in this frame --
>  accept-charset %Charsets;  #IMPLIED  -- list of supported charsets --
>  >
>
>
>Example is http://naive1.isd.dp.ua/test/form.html

You have declared HTML 4.0 on this page, not 4.01, i.e.

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

in place of

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/

Received on Thursday, 16 August 2001 15:52:27 UTC