Hello,

I am learning the reality of validation, I am working my way through validating a website and need help having some thing explained to me.

Thank you in advance!!!

I am getting the following message for the HTML Form below.

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

…ss="text" value="" name="s" id="s" /> <input class="but" type="image" src="ht

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>").
Here is the code generating this error > THANK YOU GUYS!!

HTML Code:
<form method="get" id="searchform" action="http://www.website.com">	
<input type="text" class="text" value="" name="s" id="s" ><input class="but" type="image" src="/wp-content/themes/theme896/images/search.gif" value="submit" />
</form>