If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

And for an external JavaScript there is no point in a type because it is determined by the MIME type anyway.

No, the mimeType is ignored. I serve my scripts as text/html so that browsing to the script provides a richer text view/clickable links. Some libraries like jQuery check the type if they pull the script file using ajax, but it doesn't matter to <script> tags.

As far as i know, javascript is the default/only scripting language widely supported. That means unless you care about validation, you can omit the "type='text/javascript'", which the HTML spec demands.