• I have a question that is probably really obvious. When I try to validate my new blog, I get one error:

    Line 174, Column 10: end tag for “ul” which is not finished.

    My question is:

    Line 174 of what file?

    Sorry if this is a lame question.

Viewing 3 replies - 1 through 3 (of 3 total)
  • When you validate with the W3C, select the Show Source option and then click Revalidate. You can now click on the line number listed and it will take you to that line in your code. In your case, it’s an extra </ul> after <h4>Links</h4> in your theme’s sidebar (sidebar.php).

    Thread Starter AlisonMooreSmith

    (@alisonmooresmith)

    I really appreciate your help.

    When I look at the sidebar.php code however, it does not match what is on the validation page. That code appears to be a compilation of all the codes that make up the index page??? (No where near 174 lines.)

    Not really knowing PHP, it looks to me like the sidebar.php creates a line item for each sidebar box? It has a “Links” item, but that does not have a unfinished ul tag in there. It does have one ul tag, but it’s got <?php get_links_list('name'); ?> between the tags. There is no extra </ul> that I can see.

    Any ideas?

    Thread Starter AlisonMooreSmith

    (@alisonmooresmith)

    Fixed. Well, I didn’t really fix it. I just removed the entire links section. Never did figure out why it was spitting out the rejection. Now it validates correctly.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Validation error – where?’ is closed to new replies.