HTML and CSS Reference
In-Depth Information
Make the form work
1.
In the
<form>
tag, add a method:
<form
method=”post”
>
Tip:
There are two methods used in forms,
post
and
get
.
Post
is used to send information to the server,
get
to get
information from it.
2.
Add an action:
<form method=”post”
action=”http://www.yourdomain.com/cgi-
bin/formmail.pl”
>
3.
Save the page.
Making a form work
To make a form work, an action must be assigned to it.
Consult with your Web server administrator to specify what action
you should assign.
The action above tells the form to post its data to a program called
formmail.pl
at
yourdomain.com
.
The
formmail.pl
program might take the form data visitors submit
and e-mail it to you.