i can not pass W3C Validator for both HTML and CSS. W3.com always inform me there are errors in http://www.framemory.com

eg., Line 107, Column 355: end tag for "br" omitted, but OMITTAG NO was specified

Line 120, Column 3: document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

Error Line 72, Column 11: XML Parsing Error: Opening and ending tag mismatch: p line 71 and div

what should i do?

1 answer

danwellman 5600
1
point

You're using XHTML so all tags must have a closing tag. Some tags, such as inputs, or breaks with no closing tags are self-closing, such as:

<input /> or <br />

The input on line 83 is not closed.

Also there are several ampersands that appear as & instead of &amp;

HTMLTidy (firefox plugin for validation) doesn't report as many errors as the W3C validator so perhaps once you have closed the input it will validate better?

Answered over 7 years ago by danwellman