language attribute (script, a, abbr, ...)
Browser support:Sets the scripting language for the current element. Use it only for the script element.
This attribute is deperecated in HTML 4.01.
| JavaScript page for this attribute: language. You can find other example(s) there. |
Possible values:
String that sets the scripting language.
Some of the supported languages:
| The language is JavaScript. | |||||||
| The language is JavaScript 1.1. | |||||||
| The language is JavaScript 1.2. | |||||||
| The language is JavaScript 1.3. | |||||||
| The language is JavaScript 1.4. | |||||||
| The language is JavaScript 1.5. | |||||||
| The language is JavaScript 1.6. | |||||||
| The language is JavaScript 1.7. | |||||||
| The language is JavaScript 1.8. | |||||||
| The language is Microsoft JScript. | |||||||
| Same as VBScript. | |||||||
| The language is Microsoft Visual Basic Scripting Edition. | |||||||
| The language is Extensible Markup Language (XML). |
Default: this attribute has no default value.
Example HTML code 1:
This example illustrates the use of the language attribute:
|
|
||||
<head> <script type="text/javascript" language="JavaScript"></script> </head> |
||||
|
||||
|
Did you find this example helpful?
|
Supported by tags:
a, abbr, acronym, address, applet, area, b, bdo, big, blockQuote, body, button, caption, center, cite, code, dd, del, dfn, dir, div, dl, dt, em, embed, fieldSet, font, form, frame, frameSet, H1, H2, H3, H4, H5, H6, hr, html, i, iframe, img, input:button, input:checkbox, input:file, input:hidden, input:image, input:password, input:radio, input:reset, input:submit, input:text, ins, isIndex, kbd, label, legend, li, listing, map, marquee, menu, nobr, noFrames, object, ol, optGroup, option, p, plainText, pre, q, rt, ruby, s, samp, script, select, small, span, strike, strong, sub, sup, table, tBody, td, textArea, tFoot, th, tHead, tr, tt, u, ul, var, xml, xmp
Related pages:
External links:
User Contributed Comments
