In bootstrap, How do I make an image a dropdown?
<p>In bootstrap, How do I make an image a dropdown?</p>

<p>Hi, I have created a dropdown in bootstrap, I want to put an image such that it will be the item to click so as to see the dropdown.</p>

<p>Here is my code below.</p>

<pre><code>&lt;!doctype html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset="utf-8"&gt;
&lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
&lt;title&gt;Getting Started with Bootstrap&lt;/title&gt;
&lt;link href="css/bootstrap.min.css" rel="stylesheet"&gt;
&lt;link href="css/style.css" rel="stylesheet"&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"&gt;

    &lt;div class="container-fluid"&gt;
      &lt;div class="navbar-header"&gt;
      &lt;button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-limanAbba-navbar-collapse-1" aria-expanded="false"&gt;
    &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
    &lt;span class="icon-bar"&gt;&lt;/span&gt;
    &lt;span class="icon-bar"&gt;&lt;/span&gt;
    &lt;span class="icon-bar"&gt;&lt;/span&gt;

  &lt;/button&gt;
      &lt;a class="navbar-brand" href="#"&gt;LimanAbba&lt;/a&gt;
      &lt;/div&gt;

      &lt;div class="collapse navbar-collapse" id="bs-limanAbba-navbar-collapse-1"&gt;  

      &lt;div class="navbar-header navbar-right"&gt;
        &lt;ul class="nav navbar-nav"&gt;
           &lt;li&gt;&lt;a href="#"&gt;Freelance&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href="#"&gt;Contact&lt;/a&gt;&lt;/li&gt;\
           &lt;li class="dropdown"&gt;
      &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"&gt;
      &lt;span class="caret"&gt;&lt;/span&gt;&lt;ul class="dropdown-menu"&gt;
        &lt;li&gt;&lt;a href="#"&gt;Liman&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#"&gt;Code90&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#"&gt;Coding&lt;/a&gt;&lt;/li&gt;
        &lt;li role="separator" class="divider"&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#"&gt;Separated link&lt;/a&gt;&lt;/li&gt;
        &lt;li role="separator" class="divider"&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#"&gt;One more separated link&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/nav&gt;

&lt;script src="js/jquery.js"&gt;&lt;/script&gt;
&lt;script src="js/bootstrap.min.js"&gt;&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt; 
</code></pre>