[thelist] Forms

Hassan Schroeder hassan at webtuitive.com
Wed Oct 22 16:48:19 CDT 2003


Rob Smith wrote:

> Just out of curiosity can you do:
> 
> <form name="form1" action"somepage.asp" method="post">
> 	<!-- form1 stuff -->
> 	<form name="form2" action"otherpage.asp" method="post">
> 		<!-- form2 stuff -->
> 	</form>
> </form>

Nope.

> If not, why not?

because the DTD    <http://www.w3.org/TR/html4/sgml/dtd.html>
says so :-)

<!ELEMENT FORM - - (%block;|SCRIPT)+ -(FORM) -- interactive form -->

FWIW!
-- 
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.





More information about the thelist mailing list