Latest News + - invalid code

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.

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. :)
10 years 10 months ago #1 by -H-
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.
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
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.
10 years 10 months ago #3 by -H-
The topic has been marked as resolved.
  • Posted by TemplatePlazza (5263) Offline
Hi, can you switch the template into the default one first and check the validation again?
10 years 10 months ago #4 by TemplatePlazza
The topic has been marked as resolved.
Hi,
Yes you are correct, the issue does not exist with Protostar.
I will contact the template guys to see what they say.

Thanks. :)
10 years 10 months ago #5 by -H-
The topic has been marked as resolved.
Powered by Kunena Forum