HTML Dropdown Option and Its Example

aimtocode

HTML Dropdown :

Drop-down lists are a common feature in web pages, and HTML5 makes creating them pretty foolproof. Drop-down lists allow you, the programmer, to specify a number of choices that visitors to your website can make without typing.

Drop-down lists have an incredibly valuable attribute in that they prevent certain kinds of errors. The limited options make the response very predictable because you predetermine all the possible answers.

Example :

Output:


	



Output:



aimtocode