Title: Remove text/javascript from the script tag
Last modified: November 2, 2020

---

# Remove text/javascript from the script tag

 *  [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/remove-text-javascript-from-the-script-tag/)
 * Hi there!
 * So I’m running a W3C HTML validation check on a client’s website and we found
   that your plugin adds a type=”text/javascript” attribute to the script tag your
   plugin injects into the page to initialize the slider.
 * We were wondering if you would consider removing said attribute from the script
   tag as [the type attribute is no longer necessary when dealing with JavaScript code](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#Attributes)
   and the W3C HTML validator actually throws a warning because of it.
 * We realize it’s not going to have a meaningful impact on the site’s performance
   but thought we’d try reaching out anyways.
 * Thanks in advance for your time!

The topic ‘Remove text/javascript from the script tag’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/genesis-responsive-slider_656565.
   svg)
 * [Genesis Responsive Slider](https://wordpress.org/plugins/genesis-responsive-slider/)
 * [Support Threads](https://wordpress.org/support/plugin/genesis-responsive-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/genesis-responsive-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/genesis-responsive-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/genesis-responsive-slider/reviews/)

## Tags

 * [W3C](https://wordpress.org/support/topic-tag/w3c/)

 * 0 replies
 * 1 participant
 * Last reply from: [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/remove-text-javascript-from-the-script-tag/)
 * Status: not resolved