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