Program Code – Drop down list box

This code is written as normal HTML (HyperText Markup Language). It works on any browser. It doesn’t need javascript or VBScript to show list options in output.

<title>Dropdown List</title>
<form ><!-- The HTML form tag is required when you want to collect information that visitors provide. For example, you may want to collect specific data from visitors, such as name, email address, and password.   -->
<h1> Using Drop Down List box </h1>
Major Dishes <SELECT NAME="txt1" multiple =true>
Stocks Available <SELECT NAME="txt2" multiple =true>
Soft Drinks Available <SELECT NAME="txt3" >
	<OPTION>Appy Fizz 
The option tags are used for to show a item of the list. Then the select tag used for to select an any one option from the option list

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.