$ 0 0 Here Mudassar Khan has explained with an example, how to use INPUT "type=file" to accept JPG, JPEG, PNG and GIF file in HTML.