Accept attribute in html Specify that the server accepts only image files in the file upload < form action= "demo_form.asp" > < input type= "file" name= "pic" accept= "image/*" > < input type= "submit" > < /form > Definition and Usage The accept attribute specifies the types of files that the server accepts (that can be submitted through a file upload). Note: The accept attribute can only be used with <input type="file">. and also use in <asp:fileupload> Syntax <input accept=" file_extension |audio/*|video/*|image/*| media_type "> Attribute Values Value Description ...
Post all my problems that i face in development time.that help you