Hello. I've been recently trying to update all my web pages to strict, so they can be 100% compliant with next-generation browsers. My question is, is it possible to still use javascript in the future? I ask this, because I have js on many pages, but the html validators do not like to see it. Example:: Error Line 15 column 17: there is no attribute "LANGUAGE". <script language="JavaScript" type="text/JavaScript"> Since there is not even an attribute 'Language', how the hell are we supposed to use JS yet keep things compliant?
Of course, javascript will be around for a long time yet. <script type="text/JavaScript"> Code (markup): The use of the language attribute is deprecated in XHTML.
The above info is correct. The language tag is deprecated, since it's pretty redundant with the type tag. By default, script tags are javascript, but that could theoretically change in the future, which is why the type attribute is included.