WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] W3 validation error (4 posts)

  1. stomas30
    Member
    Posted 1 year ago #

    Hello everybody!
    I need help. I uploaded my site to live server and validated with W3 validator! It comes up with 1 error message Line 722, Column 20: end tag for "select" which is not finished
    </select...

    Most likely, you nested tags and closed them in the wrong order. For example <p>...</p> is not acceptable, as must be closed before <p>. Acceptable nesting is: <p>...</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 (

      and
        require
      1. ; <dl> requires <dt> and <dd>), and so on.

        I'm trying to fix but i just can't see where the problem, please help.

        The website is http://www.findi-nekretnine.com

  2. Eric Hoanshelt
    Member
    Posted 1 year ago #

    Hey stomas30,

    Looks like your <select> tag is missing options.

    This is an element that requires a child element. Here is an example:

    <select>
    <option value="volvo">Volvo</option>
    <option value="saab">Saab</option>
    <option value="mercedes">Mercedes</option>
    <option value="audi">Audi</option>
    </select>

  3. stomas30
    Member
    Posted 1 year ago #

    Hi Eric! I thought so, it's the "browse listings" element on my page, but i want to leave it empty. I only require two listings. The other two i would like to leave as a reserve. Can it be done?

  4. stomas30
    Member
    Posted 1 year ago #

    Hi again! I didn't want to mess about so i just deleted excessive (empty)<select> tag in sidebar.listings.php and everything is working fine now. Validation OK now. Thanks a lot Eric, your topic helped me to pinpoint the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.