Click to See Complete Forum and Search --> : what is the...
Justin
05-02-2003, 02:33 PM
<script language="javascript" type="text/javascript">
what is the type="text/javascript"
in the script language tag mean?
I don't use that and i don't quite fallow
khalidali63
05-02-2003, 02:50 PM
<script language="javascript" type="text/javascript">
The atribute language="javscript" has been depricated from the HTML4.01 and its not supported in XHTML.
the script element lets the browser know that code between these tags will be of a scriptting language,there are several values that can be used
such as
text/ecmascript
text/javascript
text/jscript
text/vbscript
text/vbs
text/xml
To unserstand more about it go to
http://w3c.org
Justin
05-02-2003, 02:53 PM
it is not needed until you get the advance languges, or have mutiple on a page?
khalidali63
05-02-2003, 03:00 PM
nope its not needed unless you have javascript code on the page..all the javascript vbscript and like will go between script element
jeffmott
05-02-2003, 04:47 PM
If you plan on writing valid HTML then the type attribute is required for *all* script tags.