WordPress.org

Ready to get started?Download WordPress

Forums

validator error no (4 posts)

  1. jbskaggs
    Member
    Posted 3 years ago #

    I cannot see what is wrong with this- here is validator error:..

    end tag for "ul" which is not finished
    
    …-sidebar"><ul id="footer-sidebar"></ul></div></div><div class="column-right"><…
    
    ✉
    
    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.

    here is the sect of code it came from:

    <div class="column-middle">
    <div class="footer-sidebar">
    <ul id="footer-sidebar">
    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar('Footer Sidebar') ) : ?>
     <?php endif; ?>
    </ul>
    </div>
    </div>

    the entire file is here:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    please help
    jb

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    <ul id="footer-sidebar"></ul>

    There's no <li></li> tags

  3. jbskaggs
    Member
    Posted 3 years ago #

    thank you now I get:
    This document was successfully checked as XHTML 1.0 Transitional!

    Which means all the errors it found are fixed! Thanks for helping a noob like me.

    JB

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    No problems :-)

Topic Closed

This topic has been closed to new replies.

About this Topic