Answers for "html input multiple values"

0

html input multiple values

<form action="/action_page.php">
  <label for="files">Select files:</label>
  <input type="file" id="files" name="files" multiple><br><br>
  <input type="submit">
</form>

Definition and Usage
The multiple attribute is a boolean attribute.

When present, it specifies that the user is allowed to enter more than one value in the <input> element.

Note: The multiple attribute works with the following input types: email, and file.

Tip: For <input type="file">: To select multiple files, hold down the CTRL or SHIFT key while selecting.

Tip: For <input type="email">: Separate each email with a comma, like: [email protected], [email protected], [email protected] in the email field.
Posted by: Guest on September-02-2021

Browse Popular Code Answers by Language