how to enable and disable input field in html code example Example: disable input type button in html <input type="button" disabled value="Submit">