W3C home > Mailing lists > Public > www-validator@w3.org > April 2010

onfocus attribute in XHTML Transitional

From: Corey Mwamba <send.missive@coreymwamba.co.uk>
Date: Sun, 4 Apr 2010 05:20:13 +0100
To: www-validator@w3.org
Message-Id: <201004040520.13688.send.missive@coreymwamba.co.uk>
Hello,

Is this a bug? According to the DTD for XHTML 1.0 Transitional the standard 
attributes include the event attributes:

<!ENTITY % attrs "%coreattrs; %i18n; %events;">

Yet when I try to validate my page at 
http://www.coreymwamba.co.uk/testbed/divtest.html

I get an error, stating that I can't use the onfocus attribute in XHTML 
Transitional. What's wrong?

Many thanks,

Corey Mwamba

----
http://www.coreymwamba.co.uk
Received on Tuesday, 6 April 2010 20:19:19 GMT

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