Why write script type=”text/javascript” when the mime type is set by the server?
Douglas Crockford says: type=”text/javascript” This attribute is optional. Since Netscape 2, the default programming language in all browsers has been JavaScript. In XHTML, this attribute is required and unnecessary. In HTML, it is better to leave it out. The browser knows what to do. He also says: W3C did not adopt the language attribute, favoring instead a type attribute … Read more