HTML | DOM Input Range min Property Last Updated : 30 Aug, 2022 Comments Improve Suggest changes Like Article Like Report The Input Range min Property in HTML DOM is used to set or return the value of min attribute of the slider control. The min attribute is used to specify the minimum value of slider control. Syntax: It returns the Input Range min Property:rangeObject.minIt is used to set Input Range min Property:rangeObject.min = number Property Values: It contains single value number which specify the minimum value allowed for the slider control. Return Values: It returns a string which represents the minimum allowed value. Example 1: HTML <!DOCTYPE html> <html> <head> <title> DOM Input Range min Property </title> </head> <body style="text-align:center;"> <h1 style="color:green;"> GeeksForGeeks </h1> <h2> DOM Input Range min Property </h2> <input type="range" id="myRange" min="10" max="50"> <br> <br> <button onclick="myGeeks()"> Click Here! </button> <p id="GFG" style="font-size:23px; color:green;"> </p> <script> function myGeeks() { // Return Input range min property var x = document.getElementById( "myRange").min; document.getElementById( "GFG").innerHTML = x; } </script> </body> </html> Output: Before Click on button: After Click on button: Example 2: HTML <!DOCTYPE html> <html> <head> <title> DOM Input Range min Property </title> </head> <body style="text-align:center;"> <h1 style="color:green;"> GeeksForGeeks </h1> <h2> DOM Input Range min Property </h2> <input type="range" id="myRange" min="10" max="50"> <br> <br> <button onclick="myGeeks()"> Click Here! </button> <p id="GFG" style="font-size:23px; color:green;"> </p> <script> function myGeeks() { // setting Input range min property var x = document.getElementById( "myRange").min = "25"; document.getElementById( "GFG").innerHTML = "The value of the min attribute"+ " was changed to " + x; } </script> </body> </html> Output: Before Click on button: After Click on button: Supported Browsers: The browser supported by DOM Input Range min Property are listed below: Google ChromeInternet Explorer 10.0FirefoxSafariOpera Comment More infoAdvertise with us Next Article HTML | DOM Input Range min Property J jit_t Follow Improve Article Tags : Web Technologies HTML HTML-DOM Similar Reads HTML | DOM Input Range max Property The Input Range max Property in HTML DOM is used to set or return the value of max attribute of the slider control. The max attribute is used to specify the maximum value of slider control. Syntax: It returns the Input Range max Property:rangeObject.maxIt is used to set Input Range max Property:rang 2 min read HTML DOM Input Range list Property The input Range list property in HTML DOM is used to return a reference to the datalist element that contains an input range field. Syntax: rangeObject.list.id Return Value: It returns a string value that represents the value of the id attribute of the datalist element. Example: Below HTML code is u 1 min read HTML | DOM Input Range name Property The DOM Input Range NAME Property in HTML DOM is used to set or return the value of name attribute of a range field. The name attribute is required for each input field. If the name attribute is not specified in an input field then the data of that field would not be sent at all. Syntax: It returns 2 min read HTML | DOM Input Time min Property The DOM Input Time min Property is used to set or return the value of the min attribute of a number field. The min attribute defines the minimum time for an input Time field. Syntax: It returns the min property.timeObject.minIt is use to set the min property.timeObject.min = hh:mm:ss.ms Property val 2 min read HTML | DOM Input Week min Property The DOM Input Week min property in HTML DOM is used to set or return the value of the min attribute of a week field. The min attribute specifies the minimum value (week and year) for a week field. Syntax: It returns the min property.weekObject.minIt is used to set the min property.weekObject.min = Y 2 min read Like