I'm talking about this site page which contains html code corrected by Pretty Print/Fix. I'm talking only about the article code( which starts with Indian Railways Customer Care Numbers) and not code of header, left-right sidebars and the footer.
Earlier many non-mandatory tags in the article (p, li etc) were not closed. And I simply ran Pretty Print/Fix on the old code (as in attachment) to generate a corrected version present in the site page. Mind you that Pretty Fix does not auto close img and br tags.
i've attached the old code of the article(not full page) in the attachment.
I'm not sure of behavior of Pretty Fix, so I've tested my page with w3.org. Please click here to find the errors in this page.
Although I've validated with CSE with flag 180 set as described in http://www.htmlvalidator.com/CSEForum/v ... f=1&t=1255 but I want to know about errors this w3.org is showing( from 3rd error onwards). I want to know the reason behind these errors and not shown by CSE:
Line 266, Column 8: document type does not allow element "h4" here; missing one of "object", "ins", "del", "map", "button" start-tag
<h4><a name="anu555ltg-100004">Options(both Hindi & English) Presented …✉
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>").
Line 268, Column 8: document type does not allow element "h5" here; missing one of "object", "ins", "del", "map", "button" start-tag
<h5><a name="anu555ltg-100005">Choose Language</a></h5>✉
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>").
Line 269, Column 8: document type does not allow element "ul" here; missing one of "object", "ins", "del", "map", "button" start-tag
<ul>✉
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>").
Line 274, Column 8: document type does not allow element "h5" here; missing one of "object", "ins", "del", "map", "button" start-tag
<h5><a name="anu555ltg-100006">Select Option</a></h5>✉
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>").
Line 275, Column 8: document type does not allow element "ul" here; missing one of "object", "ins", "del", "map", "button" start-tag
<ul>✉
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>").
Line 282, Column 8: document type does not allow element "h3" here; missing one of "object", "ins", "del", "map", "button" start-tag
<h3><a name="anu555ltg-100007">All India City Wise(local) Indian Railways C…✉
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>").