Akzeptieren Sie nur Bilddateien hochladen HTML hochladen
<input type="file" name="myImage" accept="image/x-png,image/gif,image/jpeg" />
AhmedElkaiass
<input type="file" name="myImage" accept="image/x-png,image/gif,image/jpeg" />
<input type="file" name="myImage" accept="image/*" />
<input type="file" name="myImage" accept="image/png, image/gif, image/jpeg" />
<input type="file" name="myImage" accept="image/*" />
accept="video/mp4,video/x-m4v,video/*"
<input type="file" name="image" accept=".png, .jpg, .jpeg" />
<input type="file" name="image" accept="image/png, image/jpeg" />
<!-- (IE 10+, Edge (EdgeHTML), Edge (Chromium), Chrome, Firefox 42+) -->
<input type="file" accept=".jpg,.png,.pdf" />