W3C home > Mailing lists > Public > www-html-editor@w3.org > October to December 2000

Does "form" element *really* require an "action" attribute?

From: Ed Cannon <ed.cannon@bus.utexas.edu>
Date: Mon, 23 Oct 2000 17:47:22 -0500
Message-Id: <1.5.4.32.20001023224722.01264178@mailbe02.bus.utexas.edu>
To: www-html-editor@w3.org
Monday, Oct. 23

Hi,

This is to ask if there might possibly be some sort of mistake
in the HTML 4.01 specification regarding the FORM element:

 http://www.w3.org/TR/html401/interact/forms.html#h-17.3

Does it really *require* the "action" attribute?  The reason I 
ask is that someone has told me that when an "onsubmit" 
attribute is present, no "action" is necessary.  I don't know
enough about it to be sure beyond two facts:  (1) the HTML 
4.01 specification *says* that "action" is required but (2) 
some of our code (which I did not write, as I would not know 
how) seems to work just fine without it.  (The only reason I
have gotten as far as asking about this is due to using online 
validators such as the W3C's own to validate our code.)

Thank you in advance for considering this inquiry.

Ed Cannon
Department of Accounting
Red McCombs School of Business
The University of Texas at Austin
ed.cannon@bus.utexas.edu
http://www.bus.utexas.edu/~accounting/
(512) 471-6064
Received on Monday, 23 October 2000 18:47:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:49 GMT