The moose likes HTML, CSS and JavaScript and the fly likes Whats the difference Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Whats the difference" Watch "Whats the difference" New topic
Author

Whats the difference

rama murthy
Ranch Hand

Joined: Jan 13, 2006
Posts: 82
<script type="text/javascript">
<script lanuage="javascript">

Whats the difference between declaring "javascript" using type attribute and language attribute.?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15385
    
    6
Well the second one has a typo and it is also outdated.

Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Whats the difference