ITSourceCode.com

We Exist to Provide 100% Free Source Code and Tutorials

Custom Search

28-HTML Upload

Upload fields  allow users to upload a local file into the web server.

 

An upload field have two parts and they are the empty text field and a browse button that opens up a window explorer on the computer. This also allows the user to select a local file and fills the path of the file inside the text field.

 

Set up the type attribute of the <input>  tag to “file” to place the upload element on a web page.
Example:

<form name=”myForm” action=”process.php” method=”post”>
<input type=”file” name=”Ufile” />
</form>

Facebook Comments

Check Your Domain Ranking

Leave a Reply

Your email address will not be published. Required fields are marked *

ITSourceCode.com © 2016 Frontier Theme

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!