jnf555 Posted March 13, 2011 Share Posted March 13, 2011 Validation Output: 1 Error 1. Error Line 12, Column 55: required attribute "TYPE" not specified <script src="http://code.jquery.com/jquery-latest.js"></script> ✉ The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element. Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.hi the validater gave me this message what type should i be adding and where, this is the code i am using$(document).ready(function(){$("b").fadeIn(6000, function (){});return false;}); <img src="./images/oldbull.jpg" alt="oldbull" width="300px" height="200px"><b><img src="./images/newbull.jpg" alt="newbull" width="300px"height="200"></b>any advice pleasejnf555 Link to comment Share on other sites More sharing options...
thescientist Posted March 13, 2011 Share Posted March 13, 2011 the validator gave you exactly what to add. The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>. the tutorials gives examples for including javascript as well.http://www.w3schools.com/js/js_whereto.asp Link to comment Share on other sites More sharing options...
jnf555 Posted March 13, 2011 Author Share Posted March 13, 2011 thanks for reply Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.