/

HTML / CSS / JavaScript Tutorial

HTML Standard attribute: disabled

[this page | pdf | back links]

The HTML disabled attribute indicates that the element or group of elements should be disabled. It applies to <button>, <fieldset>, <input>, <keygen>, <menuitem>, <optgroup>, <option>, <select> and <textarea> elements.

 

Valid attribute values (when used with <button>, <fieldset>, <input>, <keygen>, <menuitem>, <optgroup>, <option>, <select> and <textarea> elements) include:

 

Value

Description

disabled

Element (button, group of related form elements etc.) should be disabled

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile