J'essaie depuis quelques temps de valider une page en XHTML 1.1 et ce, sans succès.
Voici les 4 dernières erreurs qui subsitents:
CITATION
- Line 21, Column 106: document type does not allow element "input" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag....length="255" value="" accesskey="4" /> ✉
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 "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>"). - Line 22, Column 83: document type does not allow element "input" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag....="http://URL.ext" /> ✉
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 "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>"). - Line 23, Column 103: document type does not allow element "input" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag..../rechercher.gif" name="ok" value="" /> ✉
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 "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>"). - Line 24, Column 10: end tag for "form" which is not finished. </form> ✉
Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>
Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
Voici la partie concernée par ces erreurs:
CODE
<div id="haut">
<div id="search">
<form method="get" action="http://www.google.com/search">
<input name="q" id="q" type="text" class="input_rech" size="14" maxlength="255" value="" accesskey="4" />
<input type="hidden" name="sitesearch" value="http://URL.ext" />
<input type="image" src="http://URL.ext/images/rechercher.gif" name="ok" value="" />
</form>
</div>
</div>
<div id="search">
<form method="get" action="http://www.google.com/search">
<input name="q" id="q" type="text" class="input_rech" size="14" maxlength="255" value="" accesskey="4" />
<input type="hidden" name="sitesearch" value="http://URL.ext" />
<input type="image" src="http://URL.ext/images/rechercher.gif" name="ok" value="" />
</form>
</div>
</div>
Où se trouvent les problèmes?
Merci d'avance.
