hello everyone,
i am trying to validate my website
http://www.avacreation.com on
http://validator.w3.org[
^] and having a problem validatiing these two elements "ToolkitScript and VIEWSTATE ". it gives me this error:
Line 66, Column 112: 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
…tScriptManager1_HiddenField" id="ToolkitScriptManager1_HiddenField" value="" />
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>")
.
there is nothing special about the code, I have just placed the ToolkitScriptManager inside the form as follow:
Collapse | Copy Code
<body>
<form runat="server">
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" />
is anyone can help me to solve this problem, Thank you in advance for any help.
best regards,