Default type for script elements?
In HTML5, the start tag for <script> doesn't need a type attribute,
because type now officially has a default: text/javascipt.
And my question is, why? Why this default?
Why have both the W3C and the WHATWG chosen for text/javascript?
Because everybody knows there is a much better and much more official
value for this attribute, and that would be, Javascript's MIME type...
No comments:
Post a Comment