W3C home > Mailing lists > Public > www-validator@w3.org > September 2001

Re: XHTML + <form ...> </form> BUG?

From: Nick Kew <nick@webthing.com>
Date: Sun, 23 Sep 2001 18:04:13 +0100 (BST)
To: Sebastian Boschert <sebi@foo.dyndns.org>
cc: www-validator@w3.org
Message-ID: <Pine.BSF.4.21.0109231759470.324-100000@fenris.webthing.com>

On Sun, 23 Sep 2001, Sebastian Boschert wrote:

> <form action="test" method="post">
> <input type="text" name="a" ></input>
> </form>

As Sean already said, <input> needs to be enclosed in a suitable
(block-level) container, and <form> (arguably perversely) isn't one.

It seems to me that this error message is not ideal: why not revert
to a message that lists the elements <input> can be contained in at
this point?

-- 
Nick Kew

Site Valet - the essential service for anyone with a website.
<URL:http://valet.webthing.com/>
Received on Sunday, 23 September 2001 13:05:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:59 GMT