New in HTML5.

<input multiple>

Sharing is caring!

Attribute of
Input As The Fundamental Form Element In HTML: Here's What It Does
What does <input multiple> do?
Allows the user to enter multiple values into a file upload or email input.

Code Example

 <label for="email">Email Address</label><br>
 <input type="email" id="email" name="email" multiple><br>
  <label for="file" >Attachments</label><br>
  <input type="file" name="file" id="file" multiple><br>
  <input type="submit" value="Send">

Adam is a technical writer who specializes in developer documentation and tutorials.

Browser Support for multiple