title: How to format a textbox for date of birth
body: <p>I've decided to use a textbox for getting the users date of birth, I'm trying to make this textbox so it restricts the users input into DD/MM/YYYY, What i'm trying to get is to that the slash(/) is fixed within the textbox. The user won't want to have the type the "/" so I'm trying to get it fixed in the textbox</p>
  
  <p>This is what I'm trying to achieve</p>
  
  <hr>
  
  <p>|____/____/___|</p>
  
  <p>my code so far is just a basic textbox but here it is anyway</p>
  
  <pre><code>&lt;label for="title"&gt;Date of Birth&lt;/label&gt;
  &lt;input type="text" name="dateofbirth" id="dateofbirth"&gt;
  &lt;/div&gt;
  </code></pre>