system — 2010-05-10T10:40:34-04:00 — #1
paul_wilkins — 2010-05-10T17:23:19-04:00 — #2
Sorry but no.
- The language attribute is long-since deprecated. It's original intention was to prevent older web browsers from running scripts that they wouldn't understand, which didn't work as well as was intended.
- Double quotes are accepted standard for quoting html attributes
- Inline scripting is to be avoided as much as possible, so the script should be loaded from an external file instead.
That results in:
which could even be reduced down to:
The script would remain as:
felgall — 2010-05-10T17:54:36-04:00 — #3
The only time you'd use the language attribute on a script tag is for server side languages. For example the long form of the PHP script tag is:
// PHP code goes here
The shorter <?php ?> version is more commonly used though.