Home / General JavaScript Tutorials / The language attribute of JavaScript |
CodingForums Jump to...
- CSS Drive
- JavaScript Menus - PHP Resources - Hotels & Vacations - Java Online Casinos - Web hosting Search |
JavaScript has become so dominant over its short life span that many authors believe its the only scripting language on the web. Well, not quite. There exist at least two other fairly popular ones, namely, JScript, and Vbscript. Both of these languages are supported only by IE, and the easiest way to make sure that only IE browsers interpret code written in these two languages is by using the language attribute. The below demonstrates this:
<script language="VBscript"> Without the language attribute, NS will choke on the above line of code. -Tutorial introduction |
. http://javascriptkit.com |