W3C home > Mailing lists > Public > www-validator@w3.org > June 2001

Re: Validator complains about onclick in the <area> tag--why?

From: Peter K. Sheerin <pete@petesguide.com>
Date: Fri, 8 Jun 2001 15:14:41 -0700
Message-ID: <002e01c0f068$6b7ad150$9865fea9@cadencesheerin>
To: <www-validator@w3.org>
Nevermind.

I was using onClick instead of onclick...
  ----- Original Message ----- 
  From: Peter K. Sheerin 
  To: www-validator@w3.org 
  Sent: Friday, June 08, 2001 3:02 PM
  Subject: Validator complains about onclick in the <area> tag--why?


  I've just recently neared the end of a marathon effort to redesign our site to a) use CSS instead of tables b) to validate against HTML 4.01 Transitional. I completed the later task, and then figured it would be worth the effort to move up to XHTML Transitional

  It took me about a half hour to bring the page in question into compliance with the exception of two hyperlinks that use some javascript in an onclick attribute, and the validator spit both of these out.

  The attribute is valid in HTML 4.01, and I can find no reference to it being removed from the XHTML spec, so why is this failing?

  Is it just an oversight in the DTD, or does XHTML not allow this?
Received on Friday, 8 June 2001 18:15:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:58 GMT