<input type="file" id="test" name="test" accept=".pdf,.doc"/>
<input type="file" name="upload" accept="application/pdf,application/vnd.ms-excel" />
accept pdf