Since the language attribute of the <SCRIPT> tag is deprecated by the HTML 4 standard, should I use the type attribute instead?
Created May 4, 2012
Troy Niven To keep things past (pre 4.0 browsers), present (5+ browsers), and future (xhtml standard), compliant, it is actually best to use both.
<script language="JavaScript" type="text/javascript"> <!-- //Place your coding in here. //This is presently a fully compliant //Javascript template. //01/01/01 //--> </script>Since unrecognized attributes are presently ignored, browsers that don't recognize one attribute or the other, will just ignore it, instead of throwing out an error.