title: How to get the HTML's input element of "file" type to only accept pdf files?
body: <p>is there any way that html element file</p>
  
  <pre><code>&lt;input name="file1" type="file" style="width:300px"&gt;
  </code></pre>
  
  <p>only accept PDF files and when we browse its only show PDF files...</p>
  
  <p>Thanks</p>