1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>Default attribute value and negation pseudo-class
</title>
5 <style type=
"text/css">form
{ background-color : red
}
6 form:not
([method
]) { background-color : lime
}
8 <link rel=
"first" href=
"css3-modsel-1.html" title=
"Groups of selectors">
9 <link rel=
"prev" href=
"css3-modsel-56.html" title=
"NEGATED substring matching attribute selector on middle">
10 <link rel=
"next" href=
"css3-modsel-59.html" title=
"NEGATED class selector">
11 <link rel=
"last" href=
"css3-modsel-d5e.html" title=
"NEGATED :indeterminate with :checked">
12 <link rel=
"up" href=
"./index.html">
13 <link rel=
"top" href=
"../../index.html">
15 <body> <!-- 'method' is an attribute with a default value in the XHTML DTD -->
16 <form action=
"http://www.example.org/foo.cgi">
17 <p>The paragraph should have a green background.
</p>