• Post Reply Bookmark Topic Watch Topic
  • New Topic

script tag attributes  RSS feed

 
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">?
 
Author and ninkuma
Marshal
Posts: 66607
161
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!