Advertisement
Home Open Editor ❯

HTML <meter> max Attribute

Example

<p><label for="a">A score:</label>
<meter id="a" min="0" low="40" high="90" max="100" value="60"></meter></p>

<p><label for="b">B score:</label>
<meter id="b" min="0" low="40" high="90" max="100" value="85"></meter></p>

Try this code ❯

Meaning

max attribute holds a float value that indicates the maximum range of the measurement.

Note: This must be greater than the minimum value (min attribute), if specified. If unspecified, the maximum value is 1(default).


Standard Syntax

<meter value="number" max="number">...</meter>


Advertisement

Attribute Values

Value Description
number Specifies a floating number.
Home Open Editor ❯
Advertisement