in una layout che ho realizzato valido per xhtml strict
al putno di inserire un form su unica riga con il seguente codice, dal validatore ricevo 3 errori che non riesco a risolvere

[code]
<div class="search">
<form method="post" action="accounts_result.php">
Ricerca Username: <input type="text" name="chiave" value="username" class="testo" /> <input name="submit" type="submit" value="Cerca" class="go" />
</form>
</div>
[code]

e gli errori sono i seguenti

Below are the results of checking this document for XML well-formedness and validity.
Error Line 19 column 2: character data is not allowed here.
Ricerca Username: <input type="text" name="chiave" value="username" class="te

You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a

aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).


Error Line 19 column 86: 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.
...ave" value="username" class="testo" /> <input name="submit" type="submit" val

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "

" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").


Error Line 19 column 149: 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.
...e="submit" value="Cerca" class="go" />