input:file

Support

Creates a file selector object with a single-line text input control and a browse button.

With this control you can allow file uploading to a server. Clicking on the browse button opens the operating system dependent file dialog that allows the user to select a file to upload.

By default, the file selection control only supports single file selection, but with the MULTIPLE attribute, you can allow users to select more than one file with one file selection control.

Example

<form method="post" enctype="multipart/form-data" action="#URL#">
Select a file: <input type="file" name="uploadFile" size="25" />
<br /><br />
<input type="submit" value="Upload" />
</form>

Preview

Select a file: