HTML Button DisabledThe 'disabled' is an attribute of <button> tag in HTML, which is used to denote that the button is disabled. It is a Boolean attribute. The disabled button cannot be used for clicking, and it appears as a grey color. SyntaxExamples: The following examples are using different buttons and make them disabled. Example 1: The following example disables the submit button. Test it NowOutput: ![]() Example 2: The following example disables the reset button. Test it NowOutput: ![]() Browser Support
Next TopicHTML font color
|
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week