- Introduction to Forms What is an HTML Form?
An HTML form is used to collect user input and send it to a server. Forms are essential for interacting with users: submitting contact information, placing orders, and signing up for newsletters.
: The container element for the entire form. action: Specifies where the form data will be sent (URL). method: Defines how the data is sent (GET or POST).