W3C home > Mailing lists > Public > www-validator@w3.org > May 2005

Re: cannot locate the error

From: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
Date: Sun, 01 May 2005 22:56:40 +0200
Message-ID: <42754288.9020506@Rhul.Ac.Uk>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: Albert Chang <albert.chang@comcast.net>, www-validator@w3.org



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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:51 UTC