<div>Dear WHATAG,</div><div>In your HTML5 draft standard, the default value for type attribute in script element is "text/javascript". While according to RFC 4329, the MIME type "text/javascript" is obsolete, the proper MIME type for JavaScript is "application/javascript" or "application/ecmascript". And Apache also can serve .js files as application/javascript MIME type.</div>
<div>And JavaScript is obviously somewhat a kind of application, we already serve XHTML1.1/XHTML5 webpages as application/xhtml+xml, why don't we use application/* on JavaScript?</div><div>I think HTML5 should be for the future, not just being pragmatic.</div>
<div><br></div><div>Even though IE doesn't welcome the new MIME type ( IE even don't welcome application/xhtml+xml ), changing the default type for script doesn't bring any trouble, and won't break the web. Because when the type attribute is absent, IE can still run the script. We can just let modern browsers regard script as the right MIME type.</div>
<br>-- <br>Ilex.Swampert.<br><a href="http://52POKE.COM">52POKE.COM</a> - Paradise for Pokémon Fans<br>