The
<input>
element allows you to attach a file from the local system to the form and submit it together with the form's field data.
It is done using the
<input>
element with the type attribute set to "file"
Note
The file can be any type.
The form will render a text field (to enter a file name and associated path) and a Browse button(to navigate the directory structure to the file) Both allow you to identify which will be uploaded.
More than one file can be uploaded using a <form>
element. The name attribute must be used to distinguish them.
The