HTML5 Datalist Tag - Exercises, Practice, Solution

[An editor is available at the bottom of the page to write and execute scripts. You can either solve the questions with the following editor or view the solutions by clicking on the question.]

22. How to specify a list of pre-defined options for input controls?

HTML Code:

 <!DOCTYPE html>
  <meta charset="utf-8">


Click me to see the solution.

See the Pen html css common editor by w3resource (@w3resource) on CodePen.

Previous: How to define a piece of computer code?
Next: How to define a description/value of a term in a description list?

What is the difficulty level of this exercise?

Test your Programming skills with w3resource's quiz.