CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 54 of 108 of the static tests category | |
Testing | Date | Revision |
Default attribute value and negation pseudo-class (ID #58) | 12-november-2001 | 1.1 |
form { background-color : red } form:not([method]) { background-color : lime }
<!-- 'method' is an attribute with a default value in the XHTML DTD --> <form action="http://www.example.org/foo.cgi"> <p>The paragraph should have a green background.</p> </form>