j05hr
12-23-2009, 03:36 PM
I have this line of code that won't validate in xhtml strict
code]<input type="submit" name="submit" value="Add Subject"/>[/code]
I have exactly the same code in other pages that validates fine, here is the error message.
Line 122, Column 60: 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
Thanks,
Josh
code]<input type="submit" name="submit" value="Add Subject"/>[/code]
I have exactly the same code in other pages that validates fine, here is the error message.
Line 122, Column 60: 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
Thanks,
Josh