HTML | <input> multiple Attribute
The HTML <input> multiple Attribute is a Boolean Attribute. It specifies that the user is allowed to select more than one value that presents in an element. The multiple attributes work with many input fields such as email, file, etc.
Syntax:
<input multiple>
Example:
<!DOCTYPE html> <html> <body> <center> <h1 style="color:green;font-style:italic;"> GeeksForGeeks </h1> <h2 style="color:green;font-style:italic;"> HTML input multiple Attribute </h2> <form action=" "> Select images: <input type="file" name="img" multiple> <input type="submit"> </form> </center> </body> </html> |
chevron_right
filter_none
Output:

Supported Browsers:
- Google Chrome 6.0
- Firefox 3.6
- Edge 10.0
- Opera 11.0
- Apple Safari 5.0
Recommended Posts:
- HTML | multiple Attribute
- HTML | <select> multiple Attribute
- HTML | DOM Select multiple Property
- HTML | DOM Input Email multiple Property
- HTML | DOM Input FileUpload multiple Property
- How to select and upload multiple files with HTML and PHP, using HTTP POST?
- HTML | <img> alt Attribute
- HTML | for Attribute
- HTML | <li> value Attribute
- HTML | value Attribute
- HTML | min Attribute
- HTML | <img> src Attribute
- HTML | <a> rel Attribute
- HTML | <map> name Attribute
- HTML | dir Attribute
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.




