validating wp_head script: attribute "type" not specified
-
I’m currently validating a site XHTML 1.0 Strict. One of my errors is:
Line 31, Column 40: required attribute “type” not specified
<script src=’/google_analytics_auto.js’></script></head>The attribute given above is required for an element that you’ve used, but you have omitted it. For instance, in most HTML and XHTML document types the “type” attribute is required on the “script” element and the “alt” attribute is required for the “img” element.
Typical values for type are type=”text/css” for <style> and type=”text/javascript” for <script>.
This is within the wp_head, but I cannot find anywhere where I can edit it and insert the type. What’s more, I do not even have a google analytics plugin installed. Could someone please tell me the name of the file at least where I can edit the code to add this? I know that it doesn’t make a difference, but I want the site to validate. Thanks!
- The topic ‘validating wp_head script: attribute "type" not specified’ is closed to new replies.