What is Input Type Submit in HTML The input type="submit" in HTML is used to create a submit button in a form. When a user clicks this button, it sends (submits) the form data to a server for processing. In simple words, a submit button helps users send the information they entered in a form, like login details, contact forms, or registration data. Syntax : <input type= "submit" value="submit"> type ="submit" ➡ create a submit button value ="send" ➡ text shown on the button A button that submit the form.<input type ="submit"> defines button for submitting form data form-handler. The form-handler is typically server page with the script for processing input data. the form -handler is specified in the forms action attribute. ⭐ HTML Input Type Submit Syntax and Example program <! DOCTYPE html > < html > < body > < h2 > Submit Button </ h2 > < p > The < strong >...
Comments
Post a Comment