AllExperts > Geocities Webpage Creator (HTML) 
Search      
Geocities Webpage Creator (HTML)
Volunteer
Answers to thousands of questions
 Home · More Geocities Webpage Creator (HTML) Questions · Answer Library  · Encyclopedia ·
More Geocities Webpage Creator (HTML) Answers
Question Library

Ask a question about Geocities Webpage Creator (HTML)
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Ashok Kumar
Expertise
I have an experience of around five years in the field of Data Conversion involving SGML and HTML. I will try to answer all your queries.

Experience

Experience of more than
6 years

 
   

You are here:  Experts > Internet/Online > Personal Web Pages > Geocities Webpage Creator (HTML) > form

Geocities Webpage Creator (HTML) - form


Expert: Ashok Kumar - 10/23/2000

Question
Hi,

I want to make a form in my website (HTML). I want people to fill out some information and they click "send" and the information will arrive in my email box.

Thank for your time.

Answer
Well, here is the code to make your form:

<FORM action="http://www.someserver.com/anydirectory/scriptname" method="post">
   <P>
   <LABEL for="field1">Field1: </LABEL>
             <INPUT type="text" id="field1"><BR>
   <LABEL for="Field2">Field2: </LABEL>
             <INPUT type="text" id="Field2"><BR>
   <LABEL for="Field3">Field3: </LABEL>
             <INPUT type="text" id="Field3"><BR>
   <INPUT type="submit" value="Send"> <INPUT type="reset">
   </P>
</FORM>

However, you can store the information of this form in an output file and can display it in HTML. To get the information in your mail, you have make changes in your script program refered in "action" attribute to import the information into the mail. This script can be in CGI, ASP, or Perl etc.

In form, you can process your data using two method: get or post. These are to be given for attribute value of method of form element. Forms do not provide the facility to get the data in mail directly as it is possible with element anchor by using "mailto" function.

I hope this might have cleared your doubts.

Enjoy...

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.