Uploading Files
suggest changeImages and files can be uploaded/submitted to server by setting enctype
attribute of form
tag to multipart/form-data
. enctype
specifies how form data would be encoded while submitting to the server.
Example
<form method="post" enctype="multipart/form-data" action="upload.php">
<input type="file" name="pic" />
<input type="submit" value="Upload" />
</form>
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents
2 Headings
4 Tables
7 Lists
8 Comments
9 IFrames
12 Images
17 Doctypes
18 Forms
19 Canvas
21 SVG
24 Div element
28 Tabindex
29 ARIA
33 Image Maps
37 Paragraphs
38 HTML 5 cache
39 Embe
42 Contributors