How to Create a Form in HTML That Can Be Submitted to an Email Address


Using basic tools--a text editor, browser, and email client--you can create a basic form that sends information you request to an email address. This method employs basic form elements and requires no special programs on a web server.

This may work fine in a controlled, internal business environment. However, remember that this method is of limited usefulness as Internet users shift from desktop mail clients to webmail services such as Gmail. Your visitors will also receive security warnings when trying to submit forms this way. There exist many free or paid services that do allow you to collect form information from visitors who choose to use webmail.

Part 1

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

1
g. Notepad under Windows) or if you have access to a web page editing tool, create a basic web page.

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

2

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

3
Web pages do not require this formatting, but it does make reading web documents easier for mortal humans.

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

4
g. the information you intend that the page requests.

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

5

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

6

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

7

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

8

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

9
For instance, the code above would display that question on the page.

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

10

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

11
The name of all related buttons must share a name. All radio buttons named "1" are mutually exclusive, that is, users can select only one from the group. The value will be passed to the email message, and the text after the <input...> tag gets displayed by the browser. Create more radio buttons for all related responses.

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

12

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

13

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

14
The code looks like the example above:

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

15

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

16

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

17

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

18

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

19
htm or .html to the end of this filename so that web browsers will recognize this document as a web page.

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

20
In Firefox, for example, go to File, Open File, or hit Ctrl-O or Command-O to open a new document.

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

21

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

22

 on How to Create a Form in HTML That Can Be Submitted to an Email Address

23