Get your CodeRanch badge!*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Whats the difference" Watch "Whats the difference" New topic

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

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

I agree. Here's the link:
subject: Whats the difference
Similar Threads
Problem with "HTTPUnit with JavaScript"
Showing mess in status bar using JSP
Appending the data in frame or popup window
calling .js in jsp
Problems with action