onfocus attribute in XHTML Transitional

>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 UTC