min attribute | min property
Specifies what the minimum bound of a meter element.
Syntax
| HTML |
|---|
<element min="p" ... > |
Property values
Type: Number
A valid floating point that specifies what the lower bound of a meter element.
Standards information
Remarks
The value of the min attribute must be less than the max attribute.
If the value of the min attribute is no specified, by default it will be 0.
Examples
In this example, because the min attribute is set to be 0, the meter element cannot be set to a value that is less than 0.
<meter value="30" min="0" max="100"></meter>
See also
Show: