Search within TutorialsPark

CSS Pseudo Class Selector :disabled


To match a form element that is disabled


Definition and Notes.

1. The CSS :disabled selector is used to disabled form elements.

2. Disabled elements are the one's which can't be activated when focused, cannot accept an input, get selected or clicked

Syntax:

CSS :disabled selector. internetexplorer safari firefox opera chrome

View in Splitscreen»

Code-Editor:

Note: The :enabled and :disabled selector will not select any elements that cannot be disabled.

Related Examples.