Meter min
Attribute
Example
Change the value of the min attribute in the gauge:
Definition and Usage
The min attribute sets or returns the value of the min attribute in the gauge.
The min attribute specifies the lower bound of the gauge. This value must be less than the max attribute value.
If the min attribute value is not specified, the default value is 0.
Tip: The min attribute, along with the max attribute, defines the full range of the gauge.
Browser Support
All major browsers support the min attribute except Internet Explorer.
Note: Safari 5 and earlier versions do not support the min attribute.
Syntax
Return the min attribute:
Set the min attribute:
Attribute Values
Value | Description |
---|---|
number | Specifies a floating-point number representing the minimum value of the gauge. The default value is "0". |
Technical Details
| Return Value: | A number, a floating-point number representing the minimum value of the gauge. | | --- | --- |
More Examples
Example
Return the value of the min attribute in the gauge:
x Output result:
Related Articles
HTML Reference: HTML <meter> min Attribute