Forms can be used to send data on web pages, and are often used in contact forms - users enter information and then send it to email.
The form itself is useless. This requires a program to process the data in the input form. This is also beyond the scope of this site's guide. If you use a web server to place HTML, you can find some simple tutorials in your own way and develop a server-side program to make a form sent to the email work.
The tags actually used in HTML include form, input, textarea, select and option.
There must be a behavior property action in the form defined by the form tag form, which tells the form where the content will be sent when submitted.
The optional method attribute method tells how the form data will be sent, with two values: get (default) and post. Commonly used is to set the post value, which can hide information (get information will be exposed to the URL).
So a form element looks like this:
Sample code [www.CuoXIn.com]