WordPress Developer Ukraine, Dnipro
Remove type attribute from script and style tags added by WordPress

Remove type attribute from script and style tags added by WordPress

Warning: The type attribute is unnecessary for JavaScript resources. By default if you check (w3 validator) any site, that based on WordPress you can see multiple warnings relating to scripts and styles tags attributes. The thing is the service recommended remove type=’text/javascript’ from the scripts tags and type=’text/css’ from the styles tags.