how to disable a button in a form code example Example: disable input type button in html <input type="button" disabled value="Submit">