In order, so you have several options, you can use the drop-down list and draw it exactly under the input text that is intended to enter the keyword. Off course in CSS, it should be absolute positioning with a lower z index than the input for text.
another, more complex example is that you draw an unordered list that looks like a drop-down list. If you use this, you can, for example, upload images (icons) using a regular text sentence. For this example, you need to put ul under the tab for text, create css hover effects for the currently selected il, and create a click event on each il that fills the text input with a keyword and hides the unordered list.
Hope this explains your question.
source share