Answer the question
In order to leave comments, you need to log in
How is a list of possible values different from a drop-down list?
I would like to know how these two lists differ from each other and when, under what conditions, each of them should be used. Visually, they are similar, but differ in code. I'm talking about datalist and select
Answer the question
In order to leave comments, you need to log in
The tag allows you to create an interface element in the form of a drop-down list, as well as a list with one or multiple selection<select>
Tag Creates a list of choices that can be selected when typing in a text field.<datalist>
<select>
<datalist>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question