Easy Tutorial
❮ Tag U Tag Html ❯

HTML <input> multiple Attribute

HTML <input> Tag

Example

A file upload field that accepts multiple values:


Browser Support

Internet Explorer 10, Firefox, Opera, Chrome, and Safari support the multiple attribute.

Note: Internet Explorer 9 and earlier versions do not support the multiple attribute of the <input> tag.


Definition and Usage

The multiple attribute is a boolean attribute.

The multiple attribute specifies that the user is allowed to enter more than one value in the <input> element.

Note: The multiple attribute applies to the following input types: email and file.


Differences Between HTML 4.01 and HTML5

The multiple attribute is new in HTML5.


Differences Between HTML and XHTML

In XHTML, attribute minimization is forbidden, and the multiple attribute must be defined as <input multiple="multiple" />.


Syntax

❮ Tag U Tag Html ❯