Computer Science, asked by wilcypsam, 1 year ago

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.
Prithivraghul697: ok
siddhartharao77: :-)
naveenkb: which question bro
siddhartharao77: This Question only
siddhartharao77: Because both of your answers are wrong and yet it is brainliested.
naveenkb: ho sorry may i know the answet
siddhartharao77: It cannot be answered here. Kindly read the question it is HTML5. Not Html

Answers

Answered by naveenkb
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>

wilcypsam: thank you so much naveenkb
siddhartharao77: Good.
Answered by franktheruler
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