Write HTML code to display Drop down list of five cricket players name. The list should display Sachin Tendulkar,Rahul Dravid,M.S. Dhoni,Virendra sahawagh and Virat kohli. It should allow multiple selection by user. Buttons should be provided for submitting the form and clearing the form.
siddhartharao77:
Next time,kindly write the questions properly.
Answers
Answered by
47
<html>
<head>
<title>drop down list of 5 cricket players</title>
</head>
<body>
<h1>sachin tendukar</h1><br>
<h1>rahul dravid</h1><br>
<h1>m.s.dhoni</h1><br>
<h1>virendra sahawagh</h1><br>
<h1>virat kohli</h1>
</body>
</html>
<head>
<title>drop down list of 5 cricket players</title>
</head>
<body>
<h1>sachin tendukar</h1><br>
<h1>rahul dravid</h1><br>
<h1>m.s.dhoni</h1><br>
<h1>virendra sahawagh</h1><br>
<h1>virat kohli</h1>
</body>
</html>
Answered by
31
Answer:
<html>
<head>
<title>drop down list of 5 cricket players</title>
</head>
<body>
< select name = " abc " size = 4 multiple >
< option value = sachin tendulkar > sachin tendukar < / option >
< option value = rahul dravid > rahul dravid < / option >
< option value = m.s dhoni > m.s dhoni < / option >
< option value = virendra sahawagh > virendra sahawagh < / option >
< option value = virat koholi > virat koholi < / option >
< / select >
</body>
</html>
Similar questions
India Languages,
7 months ago
English,
7 months ago
Science,
1 year ago
Science,
1 year ago
Social Sciences,
1 year ago