Planet For Application Life Development Presents
MY IT World

Explore and uptodate your technology skills...

HTML - Upload

HTML - Upload Forms

Upload fields provide the interface that allows users to select a local file and upload it to the web server. An upload field renders as two parts -- an empty text field and a Browse button that opens up a local window explorer on the user's computer. This allows them to quickly browse to the local file and automatically fills in the file path inside of the text field.

Setting the type attribute of the <input> to "file" places the upload element on a web page.

HTML Upload Field Code

<form name="myWebForm" action="mailto:youremail@email.com" method="post">
<input type="file" name="uploadField" />
</form>

HTML Upload Field