1<form action="/action_page.php">
2 <label for="img">Select image:</label>
3 <input type="file" id="img" name="img" accept="image/*">
4 <input type="submit">
5</form>
1<form action="http://jkorpela.fi/cgi-bin/echo.cgi"
2enctype="multipart/form-data" method="post">
3<p>
4Type some text (if you like):<br>
5<input type="text" name="textline" size="30">
6</p>
7<p>
8Please specify a file, or a set of files:<br>
9<input type="file" name="datafile" size="40">
10</p>
11<div>
12<input type="submit" value="Send">
13</div>
14</form>