HTML select tag
HTML <select> tag element represents different options in the form of drop down list. One option is selected from this list of options.
<p>If you are given a chance to visit one of the following countries,then what will be your choice?</p>
<select>
<option>Australia
<option>Egypt
<option>Algeria
<option>Indonesia
</select>
</>
If you are given a chance to visit one of the following countries,then what will be your choice?
Tag omission
Both starting and ending tags are necessary for the select element.
Global Attributes
All the global attributes are applicable on the select element.
Next Previous
Was this article helpful?