Sto provando a convalidare la mia pagina xhtml, ma mi restituisce questi errori del form, non so propio cosa potrebbe essere, per il resto è tutto ok

Line 51, column 51: document type does not allow element "form" here; missing one of "object", "applet", "map", "iframe", "ins", "del" start-tag

<form name="logIn" method="post" action="login.php">

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>").


Line 131, column 75: document type does not allow element "form" here; missing one of "object", "applet", "map", "iframe", "ins", "del" start-tag

...erca" method="post" action="find.php"><input type="text" name="testo" id="tes


Line 135, column 127: document type does not allow element "form" here; missing one of "object", "applet", "map", "iframe", "ins", "del" start-tag

...www.google.it/search" target="_blank">