low
The HTML low attribute defines the minimum value for a <meter> element, indicating the lower limit of an acceptable range for measurements.
low attribute
In HTML, the low attribute is used within the <meter> element to define the minimum value of a range.
- Usage: It's optional and specifies the lower end of the range.
- Value: Accepts a numerical value within the bounds set by the
minandmaxattributes. - Purpose: It offers semantic clarity about the acceptable range for the measurement.
- Visual Representation: It may affect the appearance of the meter, such as changing color when values fall below the limit.
- Accessibility: Enhances context for users regarding acceptable value ranges.
Syntax
index.html
<meter low="number">
Example
index.html
<meter value="40" min="0" max="100" low="20" high="80">Your progress is low.</meter>
Definition and Usage
The low attribute defines the range where the gauge's value is considered low.
Its value must be greater than the min attribute and less than both the high and max attribute values.
Values
- number
- A complete or decimal number.
Applies To
The low attribute is applicable to the following HTML elements.
Conclusion
The low attribute in HTML specifies the minimum value for a <meter> element, helping define the lower bound of an acceptable range. It enhances accessibility by providing clear visual feedback when the value falls below the threshold. This attribute improves the overall user experience, especially in measurement-based interfaces.