Powered by:
FutureQuest Hosting


"...Remember being a youngster, mom or dad telling you "close the door"? Well the same applies to HTML ...."


Sponsor
HTML   Advanced HTML For Beginners > HTML > HTML Forms

 Register

HTML

  • Learn the 7 input types of HTML forms
  • Complete HTML forms tags list
  • Join our busy webmaster forums!

This set of tags allows you to create a pull-down box containing all the options that you want to be in there. The selsect menu can be single select only, or multiple, and you decide what each selection sends you.

Here is an example

Check your listening interests (check only one):
<select name="musictype3">
<option> Rock
<option> Alternative
<option selected> Classical
<option> Anything else
</select>

The code above would result in this (but only if with in <form> tags):

Check your listening interests (check only one):

  • select * - tells the browser that a textarea window is starting

  • name * - when the form is submitted, this is the header the information in this field will go under

  • multiple - this means that multiple selections can be made from the box; it no longer is a pull-down menu

  • option* - these are used to specify the options that will be in the box

* = mandatory

Back to the HTML Forms Tutorials menu.

Web Hosting
Shared       
Reseller     
VPS             
Dedicated 
Price:   $(US)
Space:     (MB)
Transfer:(GB)
Platform:


HTML Forum

HTML Tools