Single and Multiple selection listbox

This Tutorial Has Been Viewed 2,384 Times.

This is a very simple example where we can have single and multiple selection list box without the help of JAVASCRIPT, we are using only HTML, here is the code.

<html>
<head>
<title>Single / Multiple Selects</title>
</head>
<body>
Drop down select with multiple choices<br />
Use SHIFT- or CTRL- for selection picks
<select id="lstBxEmail_1" name="listBoxEmail" multiple="multiple">
<option>Java</option>
<option>PHP</option>
<option>Perl</option>
<option>Javascript</option>
<option>C#</option>
<option>Powershell</option>
</select>
<p>
Normal select box<br />
Try to make multiple selections here
<select id="lstBxEmail_2" name="listBoxEmail" size="6">
<option>Java</option>
<option>PHP</option>
<option>Perl</option>
<option>Javascript</option>
<option>C#</option>
<option>Powershell</option>
</select>
</p></body>
</html>

Here we are just using the option MULTIPLE :)

VN:F [1.9.13_1145]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)

Single and Multiple selection listbox, 10.0 out of 10 based on 1 rating

Incoming search terms:





You will also be interested in ,

Tags:

Leave a Reply

Spam protection by WP Captcha-Free

Proudly designed by Mistonline.in.
Affordable Seo PackagesSeo BlogEdu Backlinks
More in Html (7 of 19 articles)


The CSS tutorial. What is CSS? CSS is the technology used to make the layout for webpages. They are Cascading ...