<input type="file">
Widely available
The <input type="file">
HTML element represents a field used to upload a file.
To learn more, see
HTMLInputElement: files property,
<input type="file"> at MDN.
Compatibility
- Chrome 2 Released on 2009-05-21
- Chrome Android 18 Released on 2012-06-27
- Edge 12 Released on 2015-07-29
- Firefox 3 Released on 2008-06-17
- Firefox for Android 4 Released on 2011-03-29
- Safari 4 Released on 2009-06-08
- Safari on iOS 3 Released on 2009-06-17
Specifications
- HTML Standard (#file-upload-state-(type=file)), from HTML Workstream (WHATWG).