- From: David Dorward <david@dorward.me.uk>
- Date: Thu, 8 Jul 2004 10:31:50 +0100
- To: "Michael Vogel" <michael.vogel@hermos-muenchen.de>
- Cc: <www-validator@w3.org>
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"
> /> <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 UTC