<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
 <head>
  <title>Default attribute value and negation pseudo-class</title>
  <style type="text/css">form { background-color : red }
form:not([method]) { background-color : lime }
</style>
  <link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
  <link rel="prev" href="css3-modsel-56.html" title="NEGATED substring matching attribute selector on middle">
  <link rel="next" href="css3-modsel-59.html" title="NEGATED class selector">
  <link rel="last" href="css3-modsel-d5e.html" title="NEGATED :indeterminate with :checked">
  <link rel="up" href="./index.html">
  <link rel="top" href="../../index.html">
 </head>
 <body> <!-- '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>
</body>
</html>