Which attribute is used to hold JavaScript version?

Options
- SCRIPT
- VERSION
- LANGUAGE
- VER


CORRECT ANSWER : LANGUAGE

Discussion Board
Question is on HTML

This is actually an HTML (or XHTML or HTML5) question. The answer depends on the version of HTML being used. The script element in HTML5 has no ver, version nor language attributes.

David de Leon 01-9-2017 05:40 PM

Deprecated

This has been deprecated for some time now. Type should be used instead. In firefox you can use "version" too (however not recommended for cross browser usage). Question is now misleading and deprecated... please resolve.
Many thanks!

Tom Bennett 09-30-2015 08:21 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement