Horje

How to add HTML <input> type file Attribute

Define a file-select field and a "Browse..." button (for file uploads).

index.html
Example: HTML
<label for="myfile">Select a file:</label>
<input type="file" id="myfile" name="myfile"> 

Output should be:

How to add HTML <input> type file Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin