Dropdowns are ambient overlays that we may toggle to display lists of links and other information. The supplied Bootstrap dropdown JavaScript (JS) plugin makes them interactive. It is an intentional design choice that we toggle them by clicking, rather than hovering over them.
The syntax is shown below:
<button data-toggle="dropdown"> items for dropping down_____ </button>
data-toggle
attribute with the dropdown value. dropdown-header
class.