&gt; The only valid value, to this day, is &quot;text&#x2F;javascript&quot;.<p>Other script types have been supported for a while. Some compile-to-javascript languages can be setup to use script tags in their language. For example, CoffeeScript can be setup[1] to compile &lt;script type=&quot;text&#x2F;coffeescript&quot;&gt; tags at runtime.<p>Also, WebGL can load shaders[2] from script tags of type &quot;x-shader&#x2F;x-vertex&quot; and &quot;x-shader&#x2F;x-fragment&quot;.<p>[1] <a href="http:&#x2F;&#x2F;coffeescript.org&#x2F;#scripts" rel="nofollow">http:&#x2F;&#x2F;coffeescript.org&#x2F;#scripts</a><p>[2] see the source of <a href="http:&#x2F;&#x2F;mdn.github.io&#x2F;webgl-examples&#x2F;tutorial&#x2F;sample3&#x2F;" rel="nofollow">http:&#x2F;&#x2F;mdn.github.io&#x2F;webgl-examples&#x2F;tutorial&#x2F;sample3&#x2F;</a> for a basic example.