In HTML it is not possible to add an element to the dropdown list. You need to customize it.
For example –
If you try to add a search box in an <option> or add a country flag image following with country name. When you run it you don’t see any changes in the dropdown.
This can simply be done with the jQuery plugins which adds more features to the simple dropdown element.
In this tutorial, I show how you can insert an image in the dropdown with select2 and Easyautocomplete plugins.



