WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7 & W3C validator problem (7 posts)

  1. jhonb
    Member
    Posted 2 years ago #

    Hey Guys,

    I have a little problem with the contact form 7 and w3c validator. Here is the error:

    Line 69, Column 178: Stray end tag script.
    …7/includes/js/jquery.form.js?ver=3.09'></script><script type='text/javascript'…

    And the line generated in the html is:

    <script type=​"text/​javascript" src=​"http:​/​/​richardlong.be/​wp-content/​plugins/​contact-form-7/​includes/​js/​jquery.form.js?ver=3.09" >​</script>​

    Any idea how to fix it?

    Thanks !

    PS: Latest version of wordpress and the plugin !

  2. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    W3 Schools seems to think that is OK...well the one with double quotes anyway.

  3. jhonb
    Member
    Posted 2 years ago #

    Yeah but WEC validator is not ok with ! :) Need to fix it ! But thanks anyway maybe someone else will help me !

  4. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Just pointing out the ironic nature of two tools by the same group not ageeeing.

  5. esmi
    Forum Moderator
    Posted 2 years ago #

    W3Schools and W3C are not the same. When in doubt, always go with the latter.

  6. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    I stand corrected. I always though W3 Schools was pulling from W3C.

    Does a default installation of WP 3.3.2 and Twenty Eleven pass all the W3C validators?

  7. jhonb
    Member
    Posted 2 years ago #

    I think so ! Never got problem with original WP ! But we need to take care of the plugins :)

Topic Closed

This topic has been closed to new replies.

About this Topic