disabled attribute defines that the selected element should be disabled. It is a boolean attribute. It can be used with <button>, <input>, <option>, <select>, <textarea> and <fieldset>.
Attribute | Firefox | Chrome | IE | Opera | Safari |
---|---|---|---|---|---|
disabled(button) | yes | yes | yes | yes | yes |
disabled(input) | 1.0 | 1.0 | 6.0 | 1.0 | 1.0 |
disabled(option) | 1.0 | 1.0 | 8.0 | yes | yes |
disabled(select) | yes | yes | yes | yes | yes |
disabled(textarea) | yes | yes | yes | yes | yes |