| <csstest def=":focus pseudo-class" module="W3C Selectors" modulename="css3-modsel" number="20" rev="1.1" date="03-november-2001" xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.example.org/css3tests"> |
| |
| <author>Daniel Glazman</author> |
| <author>Ian Hickson</author> |
| |
| <userinteraction/> |
| |
| <cssrules>a:focus { background-color : lime }</cssrules> |
| |
| <code> |
| <p xmlns="http://www.w3.org/1999/xhtml">The background color of <a href="#foo">anchors</a> |
| in this page should turn <a href="#foo">to green</a> when they have the |
| <a href="#foo">focus</a>.</p> |
| </code> |
| |
| </csstest> |