0% found this document useful (0 votes)
10 views1 page

What Is Form

<form> is an HTML element used to collect user input through various interactive controls such as text fields, checkboxes, and submit buttons. It serves as a container for input elements and is commonly used for tasks like gathering shipping and payment information during online transactions. Forms can be designed flexibly by placing input fields within different HTML structures like paragraphs and tables.

Uploaded by

ms4enterprises
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views1 page

What Is Form

<form> is an HTML element used to collect user input through various interactive controls such as text fields, checkboxes, and submit buttons. It serves as a container for input elements and is commonly used for tasks like gathering shipping and payment information during online transactions. Forms can be designed flexibly by placing input fields within different HTML structures like paragraphs and tables.

Uploaded by

ms4enterprises
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

what is form

<form> is an HTML element to collect input data containing interactive


controls.
⚫ It provides facilities to input text, number, values, email, password, and
control fields such as checkboxes, radio buttons, submit buttons, etc., or
in other words, form is a container that contains input elements like text,
email, number, radio buttons, checkboxes, submit 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
details in the payment form to place an order.
⚫ Forms are created by placing input fields within paragraphs, preformatted
text, lists and tables.
⚫ This gives considerable flexibility in designing the layout of forms.

Syntax:
❖ Form Elements
Tag Description
<form> It defines an HTML form to enter inputs by the used side.
<input> It defines an input control.

You might also like