I get this error when trying to validate my webpage:
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.
This is the block of code, the error comes back on each input field
Do I have to wrap each input tag in <p> or one of the others listed? That seems excessive.HTML Code:<tr> <td> <form method="post" action="login.php"> <input type="text" name="username" value='Username' /> <input type="password" name="password" /> <input type="submit" value="Login" /> </form> </td> </tr>


Reply With Quote
Bookmarks