Friday, 30 November 2012

HTML5 Input Type Range

The range type is used for input fields that should contain a value from a range of numbers.

Example Scenario:

Where we are adding students marks in an education site, students marks might have to be entered in a range of 0-100 . In such kind of cases we can use HTML5 Range Input Type

We can also place restrictions on what numbers that we want to accept.

Syntax with Example:
<input type="range" name="points" min="1" max="10">

1 comment:

  1. Great article. Useful information. Thanks for Posting.


Thank you so much for providing your valuable feedback. I will will look into them and update my skills & technologies accordingly.