input tag for pdf file html code example Example: Input type pdf html <input type="file" id="test" name="test" accept=".pdf,.doc"/>