html tutorial - multiple Attribute in HTML - html5 - html code - html form




Multiple attribute in html

Learn html - html tutorial - Multiple attribute in html - html examples - html programs

  • The multiple attribute is a Boolean attribute.
  • The multiple attribute is used to specify that the user is allowed to enter / select more than one value.
  • Hence the Multiple attribute is new in HTML5 version.

Syntax for multiple Attribute in HTML:

<input type= “file” multiple>content here</audio>

Sample coding for multiple Attribute:

Tryit<!DOCTYPE html>
<html>
    <body>
        Select files: <input type="file" name="img" multiple>
        <input type="submit">
        <p>Try selecting one or more  when browsing for files.</p>
    </body>
</html>

Code Explanation for multiple Attribute:

multiple Attribute Code Explanation

  1. Multiple attribute is given to choose more than one files in the HTML document.

Output for multiple Attribute in HTML:

multiple Attribute Output

  1. The output shows the “choose files” which we can select the multiple files from the document.

Browser Support for multiple Attribute in HTML:

Yes Yes Yes Yes Yes

Related Searches to multiple Attribute in html

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.

×