Title: [Plugin: NextGEN Gallery] NextGEN &amp; HTML Validation
Last modified: August 20, 2016

---

# [Plugin: NextGEN Gallery] NextGEN & HTML Validation

 *  Resolved [xroox](https://wordpress.org/support/users/xroox/)
 * (@xroox)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-nextgen-html-validation/)
 * “Bad value NextGEN for attribute name on element meta: Keyword nextgen is not
   registered”
 * <meta name=’NextGEN’ content=’1.8.3′ />
 * Can anyone offer any advice on this?
 * I tested my site and came up with this error (and two others). I would really
   like to fix this but unsure of what to do. Thank you.
 * [http://wordpress.org/extend/plugins/nextgen-gallery/](http://wordpress.org/extend/plugins/nextgen-gallery/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [xroox](https://wordpress.org/support/users/xroox/)
 * (@xroox)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-nextgen-html-validation/#post-2349803)
 * I am also getting a second error which seems to be related to NextGEN while I
   am at it.
 * “Line 247, Column 45: Element script must not have attribute defer unless attribute
   src is also specified.”
 * `<script type="text/javascript" defer="defer">
    jQuery(document).ready(function(){
   jQuery("#ngg-slideshow-1-1930-1").nggSlideshow( {id: 1,fx:"fade",width:350,height:
   233,domain: "http://healthwisekelowna.com/",timeout:10000}); }); </script>
 * Someone posted an explanation regarding this problem on stackoverflow.com – [http://stackoverflow.com/questions/5325436/why-can-you-only-use-defer-when-src-is-specified](http://stackoverflow.com/questions/5325436/why-can-you-only-use-defer-when-src-is-specified)–
   but I’m not sure how to deal with the error. Thanks.
 *  [Alex Rabe](https://wordpress.org/support/users/alexrabe/)
 * (@alexrabe)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-nextgen-html-validation/#post-2349857)
 * See here : [http://code.google.com/p/nextgen-gallery/source/detail?r=1011](http://code.google.com/p/nextgen-gallery/source/detail?r=1011)
 * with the upcoming NGG 1.9.0 you can remove the meta value
 * `remove_action('wp_head', array('nggGallery', 'nextgen_version') );`
 *  [piginthepoke](https://wordpress.org/support/users/piginthepoke/)
 * (@piginthepoke)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-nextgen-html-validation/#post-2349984)
 * In the meantime you can fix this by editing the plugin and commenting out the
   add_action line in nggallery.php by adding // as below:
 *     ```
       // Add a version number to the header
       			// add_action('wp_head', create_function('', 'echo "\n<meta name=\'NextGEN\' content=\'' . $this->version . '\' />\n";') );
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: NextGEN Gallery] NextGEN & HTML Validation’ is closed to new
replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [piginthepoke](https://wordpress.org/support/users/piginthepoke/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-nextgen-html-validation/#post-2349984)
 * Status: resolved