Possible Duplicate:
Do you need text/javascript specified in your <script> tags?
Do in HTML5, the <script> tag need attribute type="text/javascript"?
I mean isn’t it obvious if the <script> tag will be contains javascript?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, it’s now officially useless.
Simply do
(yes, you can omit the quotes too)
Note that you don’t have to worry about pre-HTML5 browsers, all of them always considered JavaScript to be the default script language.