Re: Form elements and the rest of the document

Daniel W. Connolly (connolly@beach.w3.org)
Wed, 10 Jul 1996 17:33:43 -0400


Message-Id: <m0ue6tD-0002UOC@beach.w3.org>
To: smishra@cc.gatech.edu
cc: www-html@w3.org
Subject: Re: Form elements and the rest of the document 
In-reply-to: Your message of "Wed, 10 Jul 1996 11:47:48 -0400."
             <199607101547.LAA13862@cleon.cc.gatech.edu> 
Date: Wed, 10 Jul 1996 17:33:43 -0400
From: "Daniel W. Connolly" <connolly@beach.w3.org>

In message <199607101547.LAA13862@cleon.cc.gatech.edu>, Sunil Mishra writes:
>\\ 
>\\ It's not a parser's job to make sense of HTML. That is up to the
>\\ renderer. It seems reasonable to me that you can safely ignore form
>\\ tags which do not appear inside a form.
>\\ 
>\\ Galactus
>\\ 
>
>True, but HTML 2.0 offered a perfectly good way out of this situation
>without introducing this kind of ambiguity. They added an inclusion to the
>form element in the DTD.
>
><!ELEMENT FORM - - %body.content -(FORM) +(INPUT|SELECT|TEXTAREA)>
>
>Why wasn't the same method followed for HTML 3.2? I mean, was there a
>reason, or was this just an oversight?

There was a reason: with client-side scripting, it begins to make
sense to have form field elements outside of <form> elements.

Dan