HTML disabled attribute HTML tag Example Disabling a group of related form elements: Personalia: Name: Email: Date of birth: Try it » Browser support Except for Internet Explorer and Safari, all other major browsers support the disabled property. Definition and Usage The disabled attribute is a boolean attribute. The disabled attribute specifies that a group of form elements (a fieldset) should be disabled. A disabled fieldset is unusable and cannot be clicked. The disabled attribute can be set so that users can use the input fields only when certain conditions are met (such as selecting a checkbox, etc.). JavaScript can then be used to remove the disabled value, making the fieldset usable. Differences between HTML 4.01 and HTML5 The disabled attribute is a new attribute of the tag in HTML5. Differences between HTML and XHTML In XHTML, attribute minimization is forbidden; the disabled attribute must be defined as . Syntax HTML tag