CSS 3 Module <== Test # ==>
W3C Selectors 35 of 182
Testing Date Revision
:disabled pseudo-class (ID #24) 2004-03-03 1.1


button { background-color : red }
input { background-color : red }
button:disabled { background-color : lime }
input:disabled { background-color : lime }
<p>
 <button disabled="disabled">A button (disabled) with green background</button>
 <br>
 <input disabled="disabled" type="text" size="36" value="a text area (disabled) with green background">
</p>