About Lesson
<form> is an HTML element to collect input data containing interactive controls. It provides facilities to input text, numbers, values, email, password, and control fields such as checkboxes, radio buttons, submits buttons, etc.
Forms are generally used when you want to collect data from the user. For example, a user wants to buy a bag online, so he/she has to first enter their shipping address in the address form and then add their payment detail in the payment form to place an order.
Syntax:
<form> elements of form… </form>
Exercise Files
No Attachment Found
Join the conversation