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

On Sun, 23 Sep 2001, Nick Kew wrote:

> 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?

Do you remember the old 'document type does not allow element "P" here;
missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag'?

-- 
Liam Quinn

Received on Sunday, 23 September 2001 13:26:42 UTC