limanza

## multiple :

## 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: mail@example.com, mail2@example.com, mail3@example.com in the email field.

## 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" />.

Example
<form > Select images : <input type="file" name="img" multiple > <input type="submit" value="Send"> </form> | code
Select images: | output

##

Copyright 2014. All rights reserved.
instagram