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: Wed, 7 Apr 2010 10:50:04 +0100
To: www-validator@w3.org
Message-Id: <201004071050.04722.send.missive@coreymwamba.co.uk>
>The %events don't include onfocus: 
>http://www.w3.org/TR/html4/sgml/dtd.html#events

>(Probably because it is only useful on elements which can have the focus, 
which a div cannot without doing things with non-standard attributes or 
JavaScript).

>-- 
>David Dorward
>http://dorward.me.uk

Ah - I had missed the > at the bottom of the attribute list - sorry.  HTML5 it 
is then! Thanks.

C.




----
http://www.coreymwamba.co.uk
http://trio.coreymwamba.co.uk/

music = science + magic
Received on Wednesday, 7 April 2010 09:50:43 GMT

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