WC3 Validation

Last post 03-09-2009, 6:44 AM by WhatNow. 0 replies.
Sort Posts: Previous Next
  •  03-09-2009, 6:44 AM 49619

    WC3 Validation

    Hi!  Everyone I am a dreaded newbie!  I am using W3C Validation service on my website and get the following message:
     
    there is no attribute "onload".
     
    This is my code for my navigation images
     
    <a href="index.html" target="_top" onclick="MM_nbGroup('down','group1','Home','',1)" onmouseover="MM_nbGroup('over','Home','Home/nav3/home2.gif','',1)" onmouseout="MM_nbGroup('out')"><img src="Home/nav3/home1.gif" alt="home navigation button" name="Home" width="50" height="30" border="0" id="Home" onload="" /></a><br />
     
    This is my doctype.   Doctype:   XHTML 1.0 Transitional - I am using dreamweaver CS3
     
    The W3C explanation for this is:    
     
    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information. 
     
     
    I dont understand the explanation.  Can anyone help me please?  Thanks! 
View as RSS news feed in XML