HTML


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

HTML Forms Select Menus


Register / Login

Register to post on our forums and use our advanced features.
User Name:          Password:   
 
  • 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 menu.

 
Google Web ahfb2000   
 

Web Hosting


Price      
Space    
Transfer 
Platform 

Domain Names




Courtesy of
onestopdomains.com

PHP Scripts


  


About us  Advertise  Contact us  Privacy  Sitemap

Copyright © 1999 - 2007 Advanced HTML For Beginners and AHFB2000, All rights reserved.
Find out more about isphost.org and why you should avoid them at all cost.