Re: Re: [WSG] Form question

2009-07-15 Thread Mathew Robertson
Can anyone tell me why the HTML specification does not restrict form elements from appearing outside of the form tag? HTML 4.01 section 17.2.1: The elements used to create controls generally appear inside a FORM element, but may also appear outside of a FORM element declaration when

Re: Re: [WSG] Form question

2009-07-15 Thread David Dorward
Mathew Robertson wrote: Another related question to ask... Why is putting a hidden input field, as the first child of a form element, disallowed? Because it is an %inline element. The child element(s) of a form must be %block. http://www.w3.org/TR/html4/interact/forms.html#h-17.3 -- David

Re: Re: [WSG] Form question

2009-07-15 Thread Nick Fitzsimons
2009/7/15 Mathew Robertson mat...@optusnet.com.au: Another related question to ask... Why is putting a hidden input field, as the first child of a form element, disallowed? The HTML 4.01 DTD specifies that only block-level elements or script elements may appear as the immediate children of

RE: Re: [WSG] Form question

2009-07-15 Thread Axiotis, Vicky
@webstandardsgroup.org Subject: Re: Re: [WSG] Form question Mathew Robertson wrote: Another related question to ask... Why is putting a hidden input field, as the first child of a form element, disallowed? Because it is an %inline element. The child element(s) of a form must be %block. http

RE: Re: [WSG] Form question

2009-07-15 Thread Axiotis, Vicky
@webstandardsgroup.org Subject: Re: Re: [WSG] Form question Can anyone tell me why the HTML specification does not restrict form elements from appearing outside of the form tag? HTML 4.01 section 17.2.1: The elements used to create controls generally appear inside a FORM element, but may

RE: Re: [WSG] Form question

2009-07-15 Thread Axiotis, Vicky
@webstandardsgroup.org Subject: Re: Re: [WSG] Form question 2009/7/15 Mathew Robertson mat...@optusnet.com.au: Another related question to ask... Why is putting a hidden input field, as the first child of a form element, disallowed? The HTML 4.01 DTD specifies that only block-level elements