How to specify that a user can enter more than one value in HTML?

HTMLWeb DevelopmentFront End Technology

Use the multiple attribute in HTML to specify a user can enter more than one value.

Example

You can try to run the following code to implement multiple attribute −

<!DOCTYPE html>
<html>
   <head>
      <title>Upload multiple files</title>
   </head>
   <body>
      <form>
         <input type = "file" name = "name" multiple><br><br>
         After uploading multiple files, click Submit.<br>
         <input type = "submit" value = "Submit">
      </form>
   </body>
</html>
raja
Published on 14-Mar-2018 14:22:17
Advertisements