Hi all
I have validated my html via the W3C validation service but one page is bringing up four errors (Link to the page). I have used [URL=“http://www.jotform.com/”]www.jotform.com to create the my contact form and I know this is what is causing the errors.
The question is how do I resolve them, in fact can I resolve them without causing a problem?
The other question I suppose is do I need to resolve them, what will happen if I don’t, anyway below are the errors, as always I appreciate any help.
Validation Output: 4 Errors
-
Warning Line 81, Column 50: character “&” is the first character of a delimiter but occurred as data
…=“http://www.jotform.com/min/g=jotform&3.1.96” type=“text/javascript”></script…
This message may appear in several cases:
* You tried to include the “<” character in your page: you should escape it as “<”
* You used an unescaped ampersand “&”: this may be valid in some contexts, but it is recommended to use “&”, which is always safe.
* Another possibility is that you forgot to close quotes in a previous tag. -
Error Line 86, Column 90: there is no attribute “name”
…rm.com/submit.php" method=“post” name=“form_10065058685” id=“10065058685” acce…
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the “Strict” document type with a document that uses frames (e.g. you must use the “Transitional” document type to get the “target” attribute), or by using vendor proprietary extensions such as “marginheight” (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
-
Error Line 86, Column 113: value of attribute “id” invalid: “1” cannot start a name
… method=“post” name=“form_10065058685” id=“10065058685” accept-charset=“utf-8”>
It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.
-
Error Line 87, Column 61: 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="formID" value="10065058685" />
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>”).
-
Error Line 123, Column 81: 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” id=“simple_spc” name=“simple_spc” value=“10065058685” />
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>”).