Answers for "how to not accept any file in an html form'"

3

input limit file type html

<!-- (IE 10+, Edge (EdgeHTML), Edge (Chromium), Chrome, Firefox 42+) -->
<input type="file" accept=".jpg,.png,.pdf" />
Posted by: Guest on February-10-2020
1

input type file select only video

accept="video/mp4,video/x-m4v,video/*"
Posted by: Guest on October-14-2020

Browse Popular Code Answers by Language