WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] W3 validation error

[Resolved] W3 validation error

  • 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

Viewing 3 replies - 1 through 3 (of 3 total)
  • ehoanshelt
    Member

    @ehoanshelt

    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>

    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?

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] W3 validation error’ is closed to new replies.