Validation error "TYPE"

liunx

Guest
I validated (thanks Pyro for link) <!-- m --><a class="postlink" href="http://www.dukewill.com/notice.html">http://www.dukewill.com/notice.html</a><!-- m --> and corrected about 12 errors and have one left...<br />
<br />
Line 4, column 46: required attribute "TYPE" not specified (explain...). <br />
<SCRIPT language=JavaScript1.2 src=http://www.webdeveloper.com/forum/archive/index.php/"resize.js"></SCRIPT><br />
<br />
My brother gave me that line... I don't understand what resize.js is either.<!--content-->That line is calling an external .js file.<br />
<br />
The language attribute has been depreciated in favor of type, so that line should look like this:<br />
<br />
<script type="text/javascript" src=http://www.webdeveloper.com/forum/archive/index.php/"resize.js"></script><!--content-->Change that to <script type="text/javascript" src=http://www.webdeveloper.com/forum/archive/index.php/"resize.js"></script>.<!--content-->oh great!...so "script language" is deprecated huh?...oh boy...my book uses that! if I replace everywhere it says "script language" with "script type" will it be fine?<!--content-->That aspect of it, yes... Perhaps not the aspect of it degrading gracefully for the 13% who do not use JS?<!--content-->
 
Back
Top