Forum Moderators: open
document type does not allow element "form" here; missing one of "object", "ins", "del", "map" start-tag.
…ox_015681913527632997726:9bvz-ifkdm8">
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.
…="015681913527632997726:9bvz-ifkdm8" />
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="hidden" name="cof" value="FORID:11" />
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="text" name="q" size="25" />
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" name="sa" value="Search" />
<form>
<fieldset>
<input>
<input>
</fieldset>
</form>
Still can't figure out the last line:
Line 199, Column 131: reference not terminated by REFC delimiter.
…681913527632997726%3A9bvz-ifkdm8&lang=en"></script>✉
If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
Line 199, Column > 80: XML Parsing Error: EntityRef: expecting ';'.
…://www.google.com/coop/cse/brand?form=searchbox_015681913527632997726%3A9bvz-…
Since adsense use an iframe, getting it to validate under a strict DTD will be kinda hard, but if you email adsense support you should get permission to make the code valid xhtml (anyway I did get it by simply asking many years ago now).
Below are the changes you'll need to make for your code to be XHTML compliant:
Remove the closing </input> and </image> tags
Add an additional closing '/' to the end of the opening html tags for <input> and <image>. This should occur for all 'image' and 'input' tags.
For example, this is an unmodified portion of the AdSense for search code:
<img src= [google.com...] border="0"
alt="Google" align="middle"></img></a>
<input type="hidden" name="oe" value="ISO-8859-1"></input>
This is what the modified version would look like:
<img src=" [google.com...] border="0"
alt="Google" align="middle" /></a>
<input type="hidden" name="oe" value="ISO-8859-1" />
Please be sure to modify the search code only as described above since our program policies don't permit any additional modifications. We appreciate your understanding.