Reference for script-type: x-shader

Hello,
I am seraching for a reference or specification for the type of a shader. Many examples, like Learning WebGL or Mozilla’s “Getting started with WebGL” are useing shaders likte this:

 
<script id="shader-fs" type="x-shader/x-fragment">  
     ..shader-code..
</script>

But I cant find a declaration of the type-attribute. Don’t understand me wrong, I do know the difference between a fragment- and a vertex-shader, but I dont understand why I should define the type in the script-tag. I can not find anything about that in the HTML-Sec nor the WebGL-Spec. Since I am writing my diploma thesis about the topic “WebGL”, I have to declare what is going on there… Can anybody help me?
(excuse my english skills)

It isn’t specified anywhere; it’s just convention and you can put it your own type.
But I suggest you to load shaders from external files.