Latest News + - invalid code
- Posted by -H- (9) Offline
Hello
It seems that there is an issue with W3C validation and this module.
The W3C validator doesn't seem to like the fact that there is no <li></li> inside the <ul> tags.
See below, please.
Is there anything I can do about this?
Thank you.
10 years 10 months ago #1
by -H-
It seems that there is an issue with W3C validation and this module.
The W3C validator doesn't seem to like the fact that there is no <li></li> inside the <ul> tags.
See below, please.
Line 639, Column 13: end tag for "ul" which is not finished
</ul>
Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on.
<!-- LatestNews Plus Date Module - Another Quality Freebie from TemplatePlazza.com -->
<ul class="lnd_latestnews">
</ul>
Is there anything I can do about this?
Thank you.
The topic has been marked as resolved.
- Posted by TemplatePlazza (5263) Offline
Hi, Can you share your website URL so I can take a look? I'm unable to find the similar error when validating the module in the demo website
10 years 10 months ago #2
by TemplatePlazza
The topic has been marked as resolved.
- Posted by -H- (9) Offline
Hi Thanks for responding so quickly.
The site link is www.ebme.co.uk/test/ (Many errors as it is a test page).
The validator direct link is validator.w3.org/check?uri=http%3A%2F%2F...%2Fservices#line-300
On the validator page - the affected lines are #298 - #300
Thanks.
10 years 10 months ago #3
by -H-
The site link is www.ebme.co.uk/test/ (Many errors as it is a test page).
The validator direct link is validator.w3.org/check?uri=http%3A%2F%2F...%2Fservices#line-300
On the validator page - the affected lines are #298 - #300
Line 300, Column 13: end tag for "ul" which is not finished
</ul>
Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>
Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on.
Thanks.
The topic has been marked as resolved.