Problem with HTML validation
Posted: 07 Nov 2011, 12:30
I have a simple article that only has a single map.
It doesn't validate properly with W3C validation tool.
Anyone any idea how to fix it?
Sorry I have tried searching the forum but can't find a reference to the problem.
Web page with the problem is:
http://www.dalesweb.com/wcf/location
and the error flagged up in W3C validator is:
Error Line 113, Column 51: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
…dcs-article"><p><div class="phocamaps"><div id="phocamaps-box"><div class="pmb…
✉
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>").
It doesn't validate properly with W3C validation tool.
Anyone any idea how to fix it?
Sorry I have tried searching the forum but can't find a reference to the problem.
Web page with the problem is:
http://www.dalesweb.com/wcf/location
and the error flagged up in W3C validator is:
Error Line 113, Column 51: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
…dcs-article"><p><div class="phocamaps"><div id="phocamaps-box"><div class="pmb…
✉
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>").