title: Is there anyway to place the placeholder text above the input field instead of placing it in the inside
body: <p>So I'm basically making a form but I was requested to place the placeholder text above the text like this <a href="https://i.stack.imgur.com/DOvsV.png" rel="nofollow noreferrer">form that I need to make</a></p>
  <p>But I can't figure out how to do that. I tried placing the text as a label over the input field but when I change the size of the browser the alignment is all over the place so I want to the label to align with the input field above it.</p>
  <p>Here is what I tried doing:</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>.row {
    display: flex;
    justify-content: space-around;
    padding: 10px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="row"&gt;
    &lt;!-- Name of Company --&gt;
  
    &lt;label class="comp" for="company" style="left: 40px;"&gt;Company&lt;/label&gt;
    &lt;input type="text" id="company" name="company" placeholder="Company" /&gt;
  
    &lt;!-- Clients First Name --&gt;
    &lt;label class="comp" for="firstname"&gt;First Name&lt;/label&gt;
    &lt;input type="text" id="firstname" name="firstN" placeholder="First Name" /&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>But what I get is <a href="https://i.stack.imgur.com/TKouV.png" rel="nofollow noreferrer">this</a>.</p>
  <p>Is there anyone that can help me with this?</p>