How to Create a Form: Part II

 c)<TEXTAREA> </TEXTAREA>
This pair of tags allow you to create multiple-line input field. As a rule of thumb, if you just want to get one line of input from users, use  <INPUT></INPUT> tags. If you want to get many lines of text, use <TEXTAREA></TEXTAREA> tags. There are some attributes that can go within the <TEXTAREA> tag: 

Example: Display a text area with 10 rows and 30 characters wide
<TEXTAREA NAME="feedback" COLS="30" ROWS="10">

d) <SELECT> </SELECT>
This pair of tags enables users to choose among various options such as a drop-down menu or a scroll box. Here are some useful attributes that can go within the <SELECT> tag:

e)<OPTION>
This tag often goes within the pair <SELECT> </SELECT> to present choices to user. There are two attributes that can go within the <OPTION> tag.

Example: This will create a drop-down list of three choices
<HTML>
<HEAD><TITLE>An example of drop-down list</TITLE>
</HEAD>
<BODY>
<p>What type of connection:</p>
<FORM METHOD="post" ACTION="/cgi-bin/network.cgi">
<SELECT NAME="network">
<OPTION SELECTED VALUE ="ethernet">Ethernet
<OPTION VALUE ="token">Token Ring
<OPTION VALUE ="clientserver">Client Server
</SELECT>
</FORM>
</BODY>
</HTML>