CSS 3 Module <== Test # ==>
W3C Selectors 63 of 140 of the static tests category
Testing Date Revision
Default attribute value and negation pseudo-class (ID #58) 12-november-2001 1.1

The paragraph should have a green background.

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>