<script language="javascript" type="text/javascript"></script>
I have never seen any other scripting language used on the web. Now this is out of curiosity, but are there any other languages besides JavaScript that are used on the web and are scripting languages? This might be a stupid question, but I have never seen any other languages used in the script tag.
Types of scripting languages There are two main categories of scripting languages: server-side and client-side scripting languages. Programmers use languages like Perl, Ruby, PHP and Python to create scripts that run on a server that provides functionality to a web page or application.
There are two main types of scripting languages: server-side and client-side.
Short answer? No. JavaScript or as it is properly known ECMAScript is the only client side scripting language available.
Long answer: Yes.
With plugins, people use ActionScript, Silverlight, and Java to create dynamic content.
Chromium also supports Dart, however Dart can be compiled into JavaScript and ran on any browser. CoffeeScript, like Dart, can also be compiled into JavaScript and ran in the browser.
The main reason that ECMAScript is the "only" client side language is that each and every browser has to implement their own version of the specification. This is why most vendors favour the use of plugins which enable their scripting language to run, rather than attempting to persuade browser vendors to implement a virtual machine for their language.
Microsoft once added a VBScript interpreter to Internet Explorer as an alternative to JavaScript. They also used the term JScript instead of JavaScript for their own implementation.
You can have multiple type see this link: http://www.w3schools.com/tags/att_script_type.asp
Example of types:
text/javascript (this is default)
text/ecmascript
application/ecmascript
application/javascript
text/vbscript
text/jscript
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With