How to specify that a button should be disabled using HTML5? Last Updated : 18 Jun, 2020 Summarize Comments Improve Suggest changes Share Like Article Like Report In this article, we specify a disabled Button by using a disabled attribute in a <Button> Element. A disabled button is un-clickable and unusable. It is a boolean attribute. Syntax: <button disabled></button> Example: html <!DOCTYPE html> <html> <head> <title> How to specify that a button should be disabled using HTML5? </title> </head> <body> <center> <p> <h2> GeeksForGeeks </h2> </p> <h2> How to specify that a button should be disabled using HTML5? </h2> <!-- button tag starts from here --> <button type = "button" onclick = "alert('Welcome to GeeksforGeeks')" Disabled> Click Here </button> <!-- button tag ends here --> </body> </html> Output: Supported Browsers are listed below: Google Chrome Internet Explorer Firefox Opera Safari Comment More infoAdvertise with us Next Article How to specify that a keygen element should be disabled in HTML ? M manaschhabra2 Follow Improve Article Tags : Web Technologies HTML HTML-Tags Similar Reads How to specify that an option should be disabled in HTML5 ? The <select> tag is used to create a drop-down list in an HTML document. Generally, it is used in the forms when some data is to be collected from the user. By default, all the values or options can be chosen or selected from the drop-down list created using the <select> element. However 2 min read How to specify that an input element should be disabled? The disabled attribute for <input> element is used to specify that the input field is disabled. A disabled input is un-clickable and unusable. It is a boolean attribute. The disabled <input> elements are not submitted in the form. Syntax:<input disabled>Example: In this example, to 1 min read How to specify that a keygen element should be disabled in HTML ? The <keygen>element in HTML helps in encryption key generation so that data can be transferred between the server and client securely. This encryption may affect the user experience and reduce website performance in the case of users with fewer system requirements. This can cause issues in the 1 min read How to specify that a group of related form elements should be disabled using HTML? In this article, we will learn how to specify that a group of related form elements should be disabled using HTML. When the disabled attribute is present, it specifies that the input field is disabled. We can not write any content in a disabled input field. Approach: We will be using the disabled at 1 min read How to make a Disable Buttons using jQuery Mobile ? jQuery Mobile is a web based technology used to make responsive content that can be accessed on all smartphones, tablets and desktops. In this article, we will be making a Disable Button using jQuery Mobile. Approach: First, add jQuery Mobile scripts needed for your project. <link rel="stylesheet 1 min read How to enable/disable a button using jQuery ? Enabling/disabling a button using jQuery involves altering its functionality to either accept user input or not. This is typically done by manipulating its 'disabled' property or attribute through jQuery methods like `.prop()` or .attr().To enable/disable a button using jQuery, you'll need a basic H 2 min read Like