asp.net.ph

Skip Navigation Links

INPUT type=file Element

HTML Elements


Creates a file select control.HTML 2, 3.2, 4, 4.01, 5

HTML Syntax

Remarks

The INPUT type=file element creates a file upload object with a text box and browse button. This control type allows the user to select files so that their contents may be submitted with a form.

Users can enter a file path in the text box or click on the browse button to browse the file system. Authors may also specify an initial file name thru its value attribute.

The file upload add-on is required to use the INPUT type=file object in Internet Explorer® 3.02.

Members

INPUT Members

Example

The following example defines a file upload object.

<form><input type="file"></form>

See Also

INPUT   Form Content Types



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note