Combobox in HTML

Combobox in HTML is used to display a drop-down list of some options from which one can be selected. <select> tag is supported in all the web browsers. <option> tag is used inside the <select> tag that displays the options in the list. Here is how to make a simple Combobox in HTML.

Combobox in HTML


Combobox in HTML is used to display a drop-down list of some options from which one can be selected.

<select> tag is supported in all the web browsers.

<option> tag is used inside the <select> tag that displays the options in the list.

Here is how to make a simple Combobox in HTML:

<html>
<head>
<title>Example of Combobox</title>
</head>
<h1>Example of Comobobox</h1>
<body>
<select>
<option value="Select">Select....</option>
<option value="java">Java</option>
<option value="html">HTML</option>
<option value="C++">C++</option>
<option value="sap">SAP</option>
</select>
</body>

</html>