

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to use multiple attribute in HTML?
The multiple attribute in HTML allows user to enter more than one value. It is a Boolean attribute and can be used on <input> as well as <select> element,
To allow multiple file uploads in HTML forms, use the multiple attribute. The multiple attribute works with email and file input types.
Example
You can try to run the following code to learn how to use multiple attribute in HTML:
<!DOCTYPE html> <html> <head> <title>HTML multiple attribute</title> </head> <body> <form> <input type="file" name="name" multiple><br><br> Upload multiple files, and click Submit.<br> <input type="submit" value="Submit"> </form> </body> </html>
- Related Questions & Answers
- HTML multiple Attribute
- How to use autocomplete attribute in HTML?
- How to use formnovalidate attribute in HTML?
- How to use formaction attribute in HTML?
- How to use formenctype attribute in HTML?
- How to use formtarget attribute in HTML?
- How to use list attribute in HTML?
- How to use pattern attribute in HTML?
- How to use placeholder attribute in HTML?
- How to use step attribute in HTML?
- How to use href attribute in HTML Page?
- How to use a novalidate attribute in HTML?
- How to use the formmethod attribute in HTML?
- How to use the required attribute in HTML?
- How to use image height and width attribute in HTML Page?
Advertisements