1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>:disabled pseudo-class
</title>
5 <style type=
"text/css">button
{ background-color : red
}
6 input
{ background-color : red
}
7 button:disabled
{ background-color : lime
}
8 input:disabled
{ background-color : lime
}</style>
9 <link rel=
"first" href=
"css3-modsel-1.html" title=
"Groups of selectors">
10 <link rel=
"prev" href=
"css3-modsel-23.html" title=
":enabled pseudo-class">
11 <link rel=
"next" href=
"css3-modsel-25.html" title=
":checked pseudo-class">
12 <link rel=
"last" href=
"css3-modsel-d4.html" title=
"Dynamic updating of :first-child and :last-child">
13 <link rel=
"up" href=
"./index.html">
14 <link rel=
"top" href=
"../../index.html">
18 <button disabled=
"disabled">A button (disabled) with green background
</button>
20 <input disabled=
"disabled" type=
"text" size=
"36" value=
"a text area (disabled) with green background">