title: Make a title of the field goes over the field: asp MVC/Razor
body: <p>I want when I enters information in the field, then the title of the field goes over the field.</p>
  
  <p>Here is my code:</p>
  
  <p>so in the field we have the text "FIRSTNAME", my purpose is when i enters information in this field, the text "FIRSTNAME" goes over the field.</p>
  
  <p>And as long as the client has nothing to enter in a field, then the title remains in the field.</p>
  
  <p>I search a lot if there is a trick to add in TextBoxFor to do that but i didn't find!</p>
  
  <p><a href="https://imgur.com/t1qk117" rel="nofollow noreferrer">state 0</a>.
   <a href="https://imgur.com/eXiC252" rel="nofollow noreferrer">state 1</a>.</p>
  
  <pre><code>@Html.TextBoxFor(model =&gt; model.FirstName, new { @placeholder = "FIRSTNAME", @class = "adresse-input"})
  </code></pre>