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

From: Nick Kew (nick@webthing.com)
Date: Sun, Sep 23 2001

  • Next message: Liam Quinn: "Re: XHTML + <form ...> </form> BUG?"

    Date: Sun, 23 Sep 2001 18:04:13 +0100 (BST)
    From: Nick Kew <nick@webthing.com>
    To: Sebastian Boschert <sebi@foo.dyndns.org>
    cc: www-validator@w3.org
    Message-ID: <Pine.BSF.4.21.0109231759470.324-100000@fenris.webthing.com>
    Subject: Re: XHTML + <form ...> </form> BUG?
    
    
    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/>