Re: cannot locate the error

Bjoern Hoehrmann wrote:

 > XHTML 1.1 does not allow <input> elements as children of a <form>
 > element. Enclose the input element in some element that is allowed
 > in <form>, e.g. <form><div><input>... should work.

Forgive my naivety, but /why/ is this not allowed ?
I would have thought that it was the most natural
nesting, and that any additional element (e.g., <div>,
as you suggest) would in many cases be completely
redundant ...

Philip Taylor

Received on Sunday, 1 May 2005 20:57:51 UTC