Uploading a file

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"

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.
element must have the these attributes.
-action=URL of the server application that will get and process the files.
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #