+ 4
How to define dropdown-list in HTML and to add some element to it?
<input list="" value="">
12 Réponses
+ 27
Dropdown-list Starts With (<select>) Opening And Closing Tags And Show Values By (<option>) Opening And Closing Tags. For Example:
<select>
<option value="car">car</option>
</select>
Keep Practicing It, Good Luck❗👍✌
🌹🌷👍🤗💖😊✌🌷🌹
+ 5
Do you mean :
<select>
<option value="dd">xhj</option>
</select>
+ 5
Or other thing?
+ 5
Or :
<input list="mbh" value=""/>
<datalist id="mbh">
<option value="hh">d</option
<option value="other">s</option>
</datalist>
+ 4
Fatehkhan Haidary it works
+ 4
What do you want exactly?
+ 3
<input list="mbh" value=""/>
<datalist id="mbh">
<option value="hh"/>
<option value="other"/>
</datalist>
+ 3
Dear Fatehkhan Haidary :
Show me what did you make?
+ 3
Welcome 😄
Did you find what you want
😁😁😉
+ 2
(Basel Al_hajeri)('MBH') Dear, it doesn't show the elements which are written
+ 2
(Basel Al_hajeri)('MBH')
<html>
<head>
<title>Form</title>
</head>
<body>
<form>
<b>Registration Form</b><br><br>
Name<br>
<input type="text" value=""><br />
Father Name<br>
<input type="text" value=""><br />
Last Name<br>
<input type="text" value=""><br />
Gender<br>
Male<input type="checkbox">Female<input type="checkbox"><br />
Age<br>
<input type="text" value=""><br />
Date of birth <br>
<input type="Date" value=""> <br />
Country <br>
<input list="Select" value=""/>
<datalist id="Select">
<option value="Afghabistan"/>
<option value="America"/>
</datalist><br />
Registration Date <br>
<input type="Date" value=""><br />
<br /><br />
<input type="Submit" Value="Submit"> <input type="Submit" Value="Decline">
<div class="show">Not Completed!!</div>
</form>
</body>
</html>
+ 2
(Basel Al_hajeri)('MBH') thanks alot bro