• Post Reply Bookmark Topic Watch Topic
  • New Topic

script tag attributes  RSS feed

 
Erin England
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between using <script type="text/javascript"> and <script LANGUAGE="Javascript">?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66304
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The former is valid, the latter is not (deprecated).

P.S. In HTML5 the type attribute is optional.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!