- From: Jukka K. Korpela <jkorpela@cs.tut.fi>
- Date: Mon, 14 Apr 2008 22:23:48 +0300
- To: "tiddo Langerak" <tiddo@live.nl>, <www-validator@w3.org>
tiddo Langerak wrote: > Hi,When I try to validate my webpage > http://toahulp.freehostia.com/index.php?page=login I got the next > error message: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 . That's pretty much the problem. You need to wrap the <input> element inside one of those containers. In practice, you want to use "div", or maybe "fieldset" or "p". Alternatively, switch from Strict to Transitional DTD (not a good idea, but the problem really is that Strict does not allow "loose" inline elements inside a form). Jukka K. Korpela ("Yucca") http://www.cs.tut.fi/~jkorpela/
Received on Monday, 14 April 2008 19:24:12 UTC