New in HTML5.

<input multiple>

Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
Attribute of
How To Use Input To Create Form Fields In HTML: Easy Tutorial
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