HTML5 Input

Chirag Patel

HTML5 is now supporting new input type and give more facilities.

Number and Range

Only numeric value input field and Range field. And Mobile browser display only numeric keypad.

Quantity (between 1 and 5):<input type="number" name="quantity" min="1" max="5">

View HTML & Demo (Browser: Opera, Chrome, IE 10)

Date Pickers

HTML5 finally defines a way to include a native date picker control without having to script it yourself. In fact, it defines six type: date, month, week, time, date + time, and date + time – timezone.
Now developers free from dubugging js/css code to support third party javascript date picker boxes in different browsers.

input type

  • date
  • datetime
  • datetime-local
  • month
  • week
  • time

View HTML & Demo (Browser: Opera, Chrome, IE 10)

Color Pickers

In past we did lots of juggling to support Color Picker in different browsers.

Now we have Input type “Color”. No extra Javascript and third party controls…

View original post 224 more words

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s