het is heel simpel maar ik kom er niet uit
als ik deze ga valideren bij http://validator.w3.org/check dan komt die met deze fouten aanzetten
Ik doe toch niets fout???
code:
1
2
3
4
| <form action="http://www.google.com/search"> <input name="saerch" type="text" value="search" size="20"/> <input type="submit" value="Zoek Nu!"/> </form> |
als ik deze ga valideren bij http://validator.w3.org/check dan komt die met deze fouten aanzetten
het gaat dan om de dik gedrukte waardes die fout zijn (dat zijn de / slashes)Line 16, column 58: 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
<input name="saerch" type="text" value="search" size="20"/>
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 17, column 38: 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
<input type="submit" value="Zoek Nu!"/>
Ik doe toch niets fout???