W3C home > Mailing lists > Public > www-validator@w3.org > July 2004

Re: [VE][65] Error Message Feedback

From: David Dorward <david@dorward.me.uk>
Date: Thu, 8 Jul 2004 10:31:50 +0100
Message-Id: <A42A31A4-D0C1-11D8-9AFA-000A957E4F00@dorward.me.uk>
Cc: <www-validator@w3.org>
To: "Michael Vogel" <michael.vogel@hermos-muenchen.de>


On 8 Jul 2004, at 10:22, Michael Vogel wrote:
> 140: <form action="" method="post">
> 142: <input type="text" name="value" maxlength="12" size="15" 
> />&nbsp;<input type="submit" name="senden" value="Start!" />

> The validator says
>  
> Line 142, column 57: document type does not allow element "input" 
> here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", 
> "pre", "address", "fieldset", "ins", "del" start-tag

This means that you need to have something inside the <form> but around 
the <input>s. It gives a list of possible elements, pick the one that 
best describes the content of the form.

e.g. <form ...> <div> <input ...> </div> </form>.

--
David Dorward
      <http://dorward.me.uk/>
<http://blog.dorward.me.uk/>
Received on Thursday, 8 July 2004 05:31:55 GMT

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