Select2 can be used to quickly set up fields used for tagging.
Note that when tagging is enabled the user can select from pre-existing options or create a new tag by picking the first choice, which is what the user has typed into the search box so far.
Tagging can also be used on a single select element. Simply remove the
multiple="multiple"
attribute from your HTML markup.