Meter min Property
Example
Change the value of the min property in the meter:
document.getElementById("myMeter").min="20";
Try it »
Definition and Usage
The min property sets or returns the value of the min attribute of the meter element.
The min property specifies the lower limit of the meter. This value must be less than the max property value.
If the min property value is not specified, the default value is 0.
**Tip:** The min property together with the max property specifies the complete range of the meter.
Browser support





All major browsers except Internet Explorer support the min property.
**Note:** Safari 5 and earlier versions do not support the min property.
Syntax
Return the min property:
meterObject
.min
Set the min property:
meterObject
.min=
number
Attribute values
| Value | Description |
|---|---|
| number | Specifies a floating-point number representing the minimum value of the meter. The default value is "0". |
Technical Details
| Return Value: | Number, a floating-point number representing the minimum value of the meter. |
|---|
More examples
Example
Return the value of the min property of the meter:
var x = document.getElementById("myMeter").min;
x The output is:
0
Try it »
Related Articles
HTML Reference Manual:HTML
Meter Object