title: Placing one text above another text - html & css
body: <p>I am trying to place a text above another text line </p>
  
  <pre><code>Test
  Upgrade
  </code></pre>
  
  <p>My html and css seem alright but it is being positioned like </p>
  
  <pre><code>Test Upgrade
  </code></pre>
  
  <p>What is wrong in my code?</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-css lang-css prettyprint-override"><code>.upgrade {
    display: inline-block;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;li&gt;
    &lt;div class="upgrade"&gt;
      &lt;a href="" class="nav-link dropdown-user-link"&gt;
        &lt;span class="user-name"&gt;Upgrade&lt;/span&gt;
      &lt;/a&gt;
    &lt;/div&gt;
  
    &lt;div class="upgrade"&gt;
      &lt;a href="" class="nav-link dropdown-user-link"&gt;
        &lt;span class="user-name"&gt;Test&lt;/span&gt;
      &lt;/a&gt;
    &lt;/div&gt;
  
  &lt;/li&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="https://i.stack.imgur.com/Kh5Dc.png" rel="nofollow noreferrer">enter image description here</a></p>