title: How to create navigation bar with Login | Sign Up button in bootstrap 4?
body: <p>I want to create a navigation bar with Login | Sign Up button in <strong>bootstrap 4</strong>. kindly check the image what I am looking for exactly:</p>
  
  <p><a href="https://i.stack.imgur.com/ibZKa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ibZKa.png" alt="Desktop Version"></a></p>
  
  <p><a href="https://i.stack.imgur.com/OUWsX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OUWsX.png" alt="Mobile Version"></a></p>
  
  <p>Kindly Check my code what I am doing:</p>
  
  <p>navigation.php</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;
  &lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"&gt;&lt;/script&gt;
  
    &lt;nav class="navbar navbar-inverse"&gt;
      &lt;div class="container-fluid"&gt;
        &lt;div class="navbar-header"&gt;
          &lt;a class="navbar-brand" href="#"&gt;WebSiteName&lt;/a&gt;
        &lt;/div&gt;
        &lt;ul class="nav navbar-nav"&gt;
          &lt;li class="active"&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Page 1&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Page 2&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;ul class="nav navbar-nav navbar-right"&gt;
          &lt;li&gt;&lt;a href="#"&gt;&lt;span class="glyphicon glyphicon-user"&gt;&lt;/span&gt; Sign Up&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;&lt;span class="glyphicon glyphicon-log-in"&gt;&lt;/span&gt; Login&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;/nav&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Using the exactly above code I am getting below output:
  <a href="https://i.stack.imgur.com/vNz87.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vNz87.png" alt="enter image description here"></a></p>
  
  <p>Kindly suggest what I am doing wrong. Any idea or suggestion would be welcome.</p>