Validation issue


Hopefully someone can help me with this, as it has been irritating me for a little while now. I’m running the attached .html (had to zip it so it could be attached to the post) file through w3c validator and it is throwing up this error:

Line 162, Column 156: end tag for “ul” which is not finished

…ul> </ul> </div> <!–end #recent-comments-


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

I’ve gone through the code a few times now and can’t find what is throwing up the error. I have run Dreamweaver CS4’s validation tool on the code and that says it is valid, so I am slightly lost. Any ideas on what I have messed up?

Thanks in advance.


All sorted ha ha ha.

I think I am going to bang my head against a wall. There wasn’t an issue with the code ha ha. It’s part of my Wordpress template and because there was no comments on the blog posts, it wasn’t validating. As soon as I made a comment on a post it validated Palm face.

I think I am going to go back to sleep ha.

Glad you solved the problem, Rossy, and welcome to the forums. :slight_smile: Even better, someone else with the same problem can find this thread and see your solution. Nice job all the way around.