Dr.Strangelove
12-31-2005, 10:01 AM
We are all being pushed one way or another towards standardization.
To this end I am attempting to make my documents XHTML compliant.
I currently use, as part of my program, the language version of JavaScript.
<code><script language="JavaScript1.5"></code>
This however is not accepted within the XHTML standard.
The standard is now:
<code><script type="text/javascript"></code>
Is there a way to return the version being used and still be XHTML compliant?
I can still enter:
<code><script language="JavaScript1.5" type="text/javascript"></code>
However this no longer differentiates between the different versions as the type statement overrides the language statement.
Any thoughts?
Tom
To this end I am attempting to make my documents XHTML compliant.
I currently use, as part of my program, the language version of JavaScript.
<code><script language="JavaScript1.5"></code>
This however is not accepted within the XHTML standard.
The standard is now:
<code><script type="text/javascript"></code>
Is there a way to return the version being used and still be XHTML compliant?
I can still enter:
<code><script language="JavaScript1.5" type="text/javascript"></code>
However this no longer differentiates between the different versions as the type statement overrides the language statement.
Any thoughts?
Tom