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>

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 

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

Many thanks,

Corey Mwamba

Received on Tuesday, 6 April 2010 20:19:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:01 UTC