title: there is no attribute "onLoad"
body: <p>Can anyone tell me why I am getting <strong>error</strong> when I am validating even through I have the correct doctype?</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
  &lt;!-- TemplateBeginEditable name="doctitle" --&gt;
  &lt;title&gt;&lt;/title&gt;
  &lt;!-- TemplateEndEditable --&gt;
  &lt;!-- TemplateBeginEditable name="head" --&gt;
  &lt;meta name="keywords" content="" /&gt;
  &lt;meta name="description" content="" /&gt;
  &lt;!-- TemplateEndEditable --&gt;
  &lt;link href="../style.css" rel="stylesheet" type="text/css" /&gt;
  &lt;script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript" src="swfobject.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
      swfobject.registerObject("flashBanner", "9.0.0");
  &lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body onLoad="InitCaptcha()"&gt;
  </code></pre>
  
  <p><strong>Error</strong></p>
  
  <p><strong>Line 21, Column 14: there is no attribute "onLoad" </strong></p>
  
  <p>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).</p>
  
  <p>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.</p>
  
  <p>How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the  element to incorporate flash media in a Web page, see the FAQ item on valid flash.</p>