CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 64 of 146 of the static tests category | |
Testing | Date | Revision |
Default attribute value and negation pseudo-class (ID #58) | 2001-11-12 | 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>