feat/Add-feature-in-datalist

This commit is contained in:
Ankita Zilpe 2023-10-16 16:23:59 +05:30
parent f478ca2c9d
commit ec536786d6

View file

@ -20,11 +20,11 @@
<label for="fruit">Choose your fruit from the list:</label> <label for="fruit">Choose your fruit from the list:</label>
<input list="fruits" name="fruit" id="fruit"> <input list="fruits" name="fruit" id="fruit">
<datalist id="fruits"> <datalist id="fruits">
<option value="Apple"> <option value="Apple 🍎 ">
<option value="Orange"> <option value="Orange 🍊">
<option value="Banana"> <option value="Banana 🍌">
<option value="Mango"> <option value="Mango 🥭">
<option value="Avacado"> <option value="Avacado 🥑">
</datalist> </datalist>
<input type="submit"> <input type="submit">
</form> </form>