Re: no onClick in strict XHTML?

by "Bert" <bert(at)betterwebdesign.com.au>

 Date:  Tue, 4 Jun 2002 08:36:45 +0800
 To:  "Hall,
Richard H." <rhall(at)umr.edu>
 Cc:  <hwg-basics(at)hwg.org>
 References:  umr
  todo: View Thread, Original
Hi again Richard

> Another XHTML validity question ...
> Error: there is no attribute "onClick" for this element
> (in this HTML version)

All elements and attributes must be in lower case in XHTML.

There is no onClick, OnClick, Onclick, OnClIcK or ONCLICK in XHTML :-)
Write it as onclick and you should find it validates.

Have a nice day!
--
Bert Doorn, Web Developer
CIW Associate, IWA Member
www.betterwebdesign.com.au
Fast Loading, User Friendly Websites

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA