Autofocus

With the attribute, you may focus one form control on page load. Previously, that can only be done with Javascript. In the example below, broswer focuses on the second text field.

Source Code Box: autofocus (Browser:IE10+, Firefox, Opera, Chrome, Safari)

Multiple

With multiple attribute, you may select multiple files. You click “Browse” button and then select multiple files by pressing “Ctr” key.

Source Code Box: multiple (Browser:IE10+, Firefox, Opera, Chrome, Safari)

Placeholder

In a search text box, you often find the hint like “input keywords here…”. You can do it now with placeholder attribute. Once you input sth. in the text field, the hint disappears.

Source Code Box: placeholder (Browser: IE10+,Firefox24+,Chrome29+,Safari5.1+,Opera17+,iOS3.2+,Android2.1+)

Required

If you specify one input field required, you cannot successfully submit it until you input some text in it. Please click submit button in example below.

Source Code Box: Required (Browser: IE10+, Firefox, Opera, Chrom)