mirror of
https://github.com/atapas/html-tips-tricks.git
synced 2024-11-16 08:48:26 +01:00
feat/Add-feature-in-datalist
This commit is contained in:
parent
f478ca2c9d
commit
ec536786d6
1 changed files with 5 additions and 5 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue