Justin
11-02-2004, 08:54 PM
im trying to make my site xhtml valid
everything is valid except this error
what does this mean: (copied from http://validator.w3.org/check)
ps: this error is where a form input text box is located
15: <td align="right">
16: <form action="/cgi-bin/search.cgi">
17: <input type="text" name="search" value="Town of Halloween" class="search" onclick="javascript:if(this.value=='Town of Halloween')this.value='';" />
18: <input type="submit" value="Search" class="gosearch" />
19: </form>
Below are the results of attempting to parse this document with an SGML parser.
Line 17, column 151: document type does not allow element "input" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag
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>").
✉
everything is valid except this error
what does this mean: (copied from http://validator.w3.org/check)
ps: this error is where a form input text box is located
15: <td align="right">
16: <form action="/cgi-bin/search.cgi">
17: <input type="text" name="search" value="Town of Halloween" class="search" onclick="javascript:if(this.value=='Town of Halloween')this.value='';" />
18: <input type="submit" value="Search" class="gosearch" />
19: </form>
Below are the results of attempting to parse this document with an SGML parser.
Line 17, column 151: document type does not allow element "input" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag
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>").
✉